Java Programs
Java Basic Programs
- Java Program to print Words in Sentence
- Java Program to Reverse Sentence
- Java Program to Check if a word is present in sentence
- Java program to count number of words in sentence
- Square Number Series Program in Java
- Odd Number Series Program in Java
- Even Number Series Program in Java
- Java Program to Print Name Of Month
- Java Program to Print Name Of Day
- Java program to find Voting Age Program in Java
- Passing Division Program in Java
- Java Program to check Equal Number in Java
- Duplicate Words in String Program in Java
- Increment Decrement Operators Program in Java
- Java Program to calculate Marks Average
- Variables Initialization Program in Java
- Java Program to Get IP Address
- Java Program to Reverse a String using Recursion
- Java Program to check Palindrome string using Recursion
- Java Program to perform Arithmetic Operation using Method Overloading
- Java Program to make a calculator using switch case
- Java Program to find quotient and remainder
- Java Program to calculate simple interest
- Java Program to check whether input character is vowel or consonant
- Java Program to Multiply two Numbers
- Java Program to add two complex numbers
- Java Program to add two binary numbers
- Java Program to Calculate Future Investment Value
- Java Program to Find Ncr and Npr
- Java Program to Calculate Average Marks
- Java Program to Calculate CGPA
- Java Program to Calculate Batting Average
- Java Program to Calculate Average Of N Numbers
- Java Program to Generate Fibonacci Series using Recursion
- Java Program to Find Sum of Digits Until Single Digit
- Java Program to Find Sum of first & last digit of a number
- Java Program to Find Sum of odd digits in a number
- Java Program to Find sum of even digits in a number
- Java Program to Find sum of N Natural numbers
- Java Program to Find GCD of N Numbers
- Create Electric Bill Calculator Program In java
- Create BMI (Body Mass Index) Calculator In Java
- Create Simple Calculator Program In Java
- Java Program to Print 1 to 100 Without Loop
- Java Program to Find Square Root of a Number
- Java Program to Find HCF of two numbers
- Java Program to Find Students Grades using Switch Case
- Java Program to Find exponents
- Create Simple Mortgage Calculator In Java
- Java Program to Find Distance Between 2 Points
- Java Program to swap two Numbers
- Java Program to Calculate Average of 3 Numbers
- Java Program to Calculate Average of Two Numbers
Java Number Programs
- ISBN Number Program In Java
- Program to check Twisted Prime Program in Java
- Program to check Special Number Program in Java
- Program to check Niven Number Program in Java
- Program to check Happy Number Program in Java
- Program to check CoPrime Numbers Program in Java
- Program to check Circular Prime Program in Java
- Prime Number Up to N Terms Program in Java
- Program to check Amicable Numbers in Java
- Program to check Ugly Number in Java
- Java Program to convert Number to Word
- Program to check nth Prime Number In Java
- Program to check Xylem and Phloem Number In Java
- Program to check Strontio Number in Java
- Program to check Smith Number in Java
- Program to check Mystery Number in Java
- Program to check Bouncy Number in Java
- Program to check Krishnamurthy Number In Java
- Program to check Evil Number In Java
- Program to check Duck Number In Java
- Program to check Buzz Number In Java
- Program to check Sphenic Number in Java
- Program to check Emirp Number in Java
- Program to check Autobiographical Number in Java
- ATM program In Java
- Program to check Spy Number in Java
- Program to check Neon Number in Java
- Program to check Keith Number in Java
- Program to check Fascinating Number in Java
- Program to check Tech Number in Java
- Program to check Sunny Number in Java
- Program to check Peterson Number in Java
- Program to check Automorphic Number in Java
- Program to check Unique Number In Java
- Program to check Nelson Number in Java
- Program to check Kaprekar Number In Java
- Program to check Harshad Number In Java
- Program to check Pronic Number in Java
- Program to check Disarium Number In Java
- Program to check Strong Number In Java
- Program to check Perfect Number In Java
- Program to check Palindrome Number In Java
- Program to check Magic Number In Java
- Program to check Twin prime In Java
- Java Program to Find HCF and LCM of Two Numbers
- Java Program to Find average of 3 numbers
- Java Program to display odd numbers from 1 to n or 1 to 100
- Java Program to display even numbers from 1 to n or 1 to 100
- Java Program to display alternate prime numbers
- Java Program to find largest of three numbers using ternary operator
- Java Program to find smallest of three numbers using ternary operator
- Java Program to swap two numbers using bitwise operator
- Java Program to find Largest of three numbers
- Java Program to find GCD of two numbers
- Java Program to generate Random Number
- Java Program to check if a number is Positive or Negative
- Java Program to print Armstrong numbers between a given range
- Java Program to find square root of a number without sqrt method
- Java Program to check if a given number is perfect square
- Java Program to check Prime Number
- Java program to break integer into digits
- Java Program to display prime numbers between 1 and 100 or 1 and n
- Java Program to display first 100 prime numbers
Java Array Programs
- Java Program to Print 2D array
- Java Program to Print Odd and Even Numbers from an array
- Java Program to Remove Duplicate Element in an array
- Java to Program Find Smallest Number in an array
- Java Program to Find Largest Number in an array
- Java Program to Find 2nd Largest Number in an array
- Java Program to Find 3rd Largest Number in an array
- Java Program to sort the elements of an array in descending order
- Java Program to sort the elements of an array in ascending order
- Java Program to right rotate the elements of an array
- Java Program to print sum of all the items of the array
- Java Program to print number of elements present in an array
- Java Program to print smallest element in an array
- Java Program to print largest element in an array
- Java Program to print elements of an array present on odd position
- Java Program to print elements of an array present on even position
- Java Program to print elements of an array in reverse order
- Java Program to print elements of an array
- Java Program to print the duplicate elements of an array
- Java Program to left rotate the elements of an array
- Java Program to find the frequency of each element in the array
- Java Program to copy all elements of one array into another array
- Java Program to Add Two Matrix Using Multi-dimensional Arrays
- Java Program to convert char Array to String
- Java Program to reverse an array
- Java Program to Count Duplicate Elements in Array
- Java Program to Add the elements of an Array
- Java Program to Remove Element From Array
- Java Program to Add Element to Array
- Java Program to Insert Element at Specific Position in Array
- Java Program to Merge Two Sorted Arrays
- Java Program to Merge Two Arrays
- Java Program to Compare Two Arrays
- Java Program to find Sum of Two Arrays Elements
- Java Program to Find the Sum of Array
- Java Program to Find Length of Array
Java Pattern Programs
More Java Programs
- Java Program to Print Hello World
- Java Program to Print an Integer
- Java Program to Get User Input and Print on Screen
- Java Program to Add Two Numbers
- Java Program to Add Two Integer Number
- Java Program to Multiply two Floating Point Numbers
- Java Program to Find ASCII Value of a character
- Java Program to Compute Quotient and Remainder
- Java Program to Check Whether a Number is Even or Odd
- Java Program to Find Factorial of a Number
- Java Program to Print Table of any Number
- Java Program to Reverse Given Number
- Java Program to Generate Fibonacci Series
- Java Program to Find Greatest Number
- Java Program to Check Whether a Number is Palindrome or Not
- Java Program to Calculate Sum of Digits
- Java Program to Count number of Digits In Number
- Java Program to Generate Random Numbers
- Java Program to Perform Addition, Subtraction, Multiplication and Division
- Java Program to Calculate Simple Interest
- Java Program to Calculate Compound Interest
- Java Program to Swapping Two Numbers Using a Temporary Variable
- Java Program to Swapping Two Numbers without Using a Temporary Variable
- Java Program to Print Prime Numbers
- Java Program to Generate Multiplication Table
- Java Program to Check Whether an Alphabet is Vowel or Consonant
- Java Program to Find the Largest Among Three Numbers
- Java Program to Find all Roots of a Quadratic Equation
- Java Program to Check Leap Year
- Java Program to Calculate the Sum of Natural Numbers
- Java Program to Check Whether a Number is Prime or Not
- Java Program to Check Armstrong Number
- Java Program to Display Factors of a Number
- Java Program to Make a Simple Calculator Using switch case
- Java Program to Calculate the Area of a Circle
- Java Program to Calculate area of rectangle
- Java Program to Compare Two Strings
- Java Program to Check Whether Given String is a Palindrome
- Java Program to Convert String to Date
- Java Program to Find the Frequency of Character in a String
- Java Program to Count the Number of Vowels and Consonants in a Sentence
- Java Program to Sort Elements in Lexicographical Order
- Java Program to Sort Array Elements
- Java Program to Find Largest and Smallest Number in an Array
- Java Program to Check if An Array Contains a Given Value
- Java Program to Calculate Average Using Arrays
- Java Program to Convert Binary to HexaDecimal
- Java Program to Convert Celsius to Fahrenheit
- Java Program to Convert Fahrenheit to Celsius
- Java Program to Print Invert Triangle
- Java Program to Get Current Date/Time