Skip to content
Download Android App: Follow Us:
Simple2Code
  • Home
  • Java
    • Java Tutorial
    • Java Programs
    • Java Pattern Programs
  • C
    • C Tutorial
    • C Programs
  • C++
    • C++ Tutorial
    • C++ Programs
  • C#
    • C# Tutorial
    • C# Programs
  • Apps
  • Blog
  • About Us

java basic programs

Java Program to Find the Distance between Two Points

In this tutorial, we will write a program to find the distance between two given points in java. Before that, you should have knowledge of the following topic in Java. Operator in Java Distance Formula: The distance between two coordinates …

Read moreJava Program to Find the Distance between Two Points

Categories Java Programs Tags java basic programs

Java Program to Calculate Grade of Students

In this tutorial, we will write a java program to calculate the grade of the student. Before that, you should have knowledge on the following topic in java: Java if else ladder Java switch Case Java Program to calculate and …

Read moreJava Program to Calculate Grade of Students

Categories Java Programs Tags java basic programs

Currency Conversion Program in Java

In this section of the java program tutorial, we will learn how to write a Java Currency Converter Program and see how it works. Before we begin, let me tell you that this is a beginner’s tutorial for the currency …

Read moreCurrency Conversion Program in Java

Categories Java Programs Tags java basic programs

Menu Driven Program in Java

In this tutorial, we will write a program on menu driven in java using switch statement along with source code. The switch case is mostly used when it is necessary to give options to the users. If you do not …

Read moreMenu Driven Program in Java

Categories Java Programs Tags java basic programs

Java Program to print ASCII value of a Character

In this tutorial, you will learn how to find the ASCII value of a character in Java. Before that, you need to have the knowledge of the following in Java Programming. Data-types Type-Casting ASCII stands for American Standard Code for Information …

Read moreJava Program to print ASCII value of a Character

Categories Java Programs Tags java basic programs

Java Program to Check for Leap Year

The following Program to Check if the Entered year is a leap year or not, the if-else statement has been used. If you want to learn about the if-else statement in Java, click the link below. If-Else statement in Java …

Read moreJava Program to Check for Leap Year

Categories Java Programs Tags java basic programs

Java Program to Check Whether the Given Number Is Binary or Not

In this post, we will write a program on how to check whether given number is binary or not in java. Let start by knowing the Binary number and then see the example with an explanation. What is a Binary …

Read moreJava Program to Check Whether the Given Number Is Binary or Not

Categories Java Programs Tags java basic programs

Java Program to make a Calculator using a Switch Statement

This Java program simply creates an option to chose the Operators just like any calculator. A switch statement is used for creating an option in programming that will make case for a different option and operate according to the option …

Read moreJava Program to make a Calculator using a Switch Statement

Categories Java Programs Tags java basic programs

Java Program to Calculate the Simple Interest

Here, you will learn how to calculate the Simple Interest in Java using the Formula ((p * r * t) / 100)) where, p = Principal r = Rate of Interest t = Time Period The program takes the user …

Read moreJava Program to Calculate the Simple Interest

Categories Java Programs Tags java basic programs

Java Program to Calculate the Area of a Triangle

Here, you will learn how to calculate the Area of a Triangle using the Formula [(Base* Height)/2]. The program takes the user input for the Base and Height of a triangle, calculates the result, and displays the result on the …

Read moreJava Program to Calculate the Area of a Triangle

Categories Java Programs Tags java basic programs
Post navigation
Older posts
Page1 Page2 Next →

More Topics

  • Java Program to find the sum of the Largest Forward Diagonal
    28 April 2024
  • C Program to search an element in an array using Pointers
    7 January 2024
  • C Program to find the sum of the digits of a number using recursion function
    7 January 2024
  • C program to find factorial of a numberĀ using Ternary operator with Recursion
    6 January 2024
  • C Program to Add Two Numbers Using Call by Reference
    6 January 2024
  • Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python
    1 February 2023
  • String Pattern Programs in C
    29 July 2022

Categories

  • C Programs
  • C Tutorial
  • computer fundamentals
  • CPlusPlus Programs
  • CPlusPlus Tutorial
  • CSharp Programs
  • CSharp Tutorial
  • HTML
  • Java Programs
  • Java Tutorial
  • javascript
  • Uncategorised

Simple2Code

  • About Us
  • Privacy Policy
  • Disclaimer
  • Sitemap

Search

Follow Us:
Copyright © 2025 Simple2Code