Java Program List

Java Program List | Java Programming Examples With Output | Learn Java Programming Language through examples. Develop Java basic programs to understand the basic concepts of Java. These are the basic Java program examples with output. After learning the procedure to develop the program try to develop it on your own and then compare the code given on the website. This page contains the list of all Java programs. For frequently asked and popular Java programs see:- Top 100+ Java Programming Examples With Output

Java Basic Program List

  1. Java Hello World program
  2. Java Addition Program
  3. Average of Two Numbers
  4. Average of 3 Numbers
  5. Calculate Total & Average of 3 Subjects
  6. Calculate Simple Interest
  7. Calculate Compound Interest
  8. Display ASCII value in Java
  9. Calculate Area of Circle in Java
  10. Find Area of Rectangle in Java
  11. Find the Area of Triangle in Java
  12. Swapping two Numbers in Java
  13. Distance Between 2 Points in Java
  14. Simple Mortgage Calculator in Java
  15. Miles to Kilometers Java Program
  16. Unit Conversion Java Program
  17. Java Program Called Muchbetter

Java Program List on Flow Control

  1. Check Even number in Java
  2. Check Odd Number in Java
  3. Java code to Check Even Odd
  4. Find the Greatest of 3 numbers
  5. How to Find exponents in Java
  6. Students’ Grades using Switch Case
  7. Iterate through digits of a number
  8. Leap year program in Java
  9. Print Multiplication table
  10. Find the reverse of a number
  11. Find Factors of a number
  12. LCM of two numbers in Java
  13. HCF of two numbers in Java
  14. Roots of a quadratic equation
  15. Square Root of a Number
  16. Perfect Square Program
  17. Print 1 to 100 Without Loop
  18. Simple Calculator Program
  19. BMI (Body Mass Index) Calculator
  20. Electric Bill Java Program
  21. Find the Runtime of a Java Program
  22. Factorial of a Number in Java

Java Program List to find Sum

  1. The sum of N Natural numbers
  2. Sum of digits of a number in Java
  3. The Sum of Digits Until Single Digit

Java Program List to Find Series

  1. Fibonacci Series program in Java
  2. Fibonacci Series using Recursion
  3. Sum of Series Program in Java

Java Program List for Conversion based on Flow Control

  1. Celsius to Fahrenheit Java program
  2. Fahrenheit to Celsius Java program
  3. Decimal to Octal program in Java
  4. Octal to Decimal program in Java

Pattern Programs in Java

  1. Diamond Pattern Program
  2. Pascal Triangle Program
  3. Pyramid Pattern Program

Java Program List for Number Programs

  1. Even Number in Java
  2. Odd Number in Java
  3. Prime Number in Java
  4. Twin prime Number
  5. Magic Number in Java
  6. Armstrong Number
  7. Palindrome Number
  8. Perfect Number Java
  9. Spy Number in Java
  10. Tech Number in Java
  11. Sunny Number in Java
  12. Automorphic Number
  13. Krishnamurthy Number
  14. Evil Number in Java
  15. Strong Number in Java
  16. Disarium Number Java
  17. Neon Number in Java
  18. Pronic Number in Java
  19. Duck Number in Java
  20. Harshad Number Java
  21. Kaprekar Number Java
  22. Buzz Number in Java
  23. Nelson Number in Java
  24. Special Number in Java

Simple Game Java Program List using Flow Control Statements

  1. Dice Roll Program Java
  2. Monty Hall Java Program
  3. Chinese Zodiac Sign Java Program
  4. Java Random Walk Program

Java Program List on Array

Pre-requisites to solve these array programs in Java:- Array in JavaMultidimensional ArrayAnonymous ArrayArray of ObjectsJagged Array

Single-dimensional (1D) Array Programs in Java

  1. Find Length of Array in Java
  2. Get Array Input in Java
  3. Return Array from a method
  4. Different ways to Print Array
  5. Find the Sum of Array in Java
  6. Find the average of an Array
  7. Sum of Two Arrays Elements
  8. Compare Two Arrays in Java
  9. Copy Array in Java
  10. Merge 2 Arrays in Java
  11. Merge two sorted Arrays
  12. Largest Number in Array
  13. Smallest Number in Array
  14. 2nd Largest Number in Array
  15. How to Sort an Array in Java
  16. Reverse an Array in Java
  17. GCD of N Numbers in Java
  18. Find LCM of an Array in Java
  19. Linear Search in Java
  20. Binary Search Program in Java
  21. Remove Duplicates From Array
  22. Insert Element at Specific Position
  23. Add Element to Array in Java
  24. Remove Element From Array in Java
  25. Count Repeated Elements in Array
  26. How To Reduce The Size Of An Array In Java
  27. Find Odd Occurrence Number Array in Java
  28. Java Primitive Array To Wrapper Array
  29. Java Array of Random Numbers
  30. Find the Median of an Array Java
  1. Count Even and Odd numbers in an Array
  2. Put Even and Odd Elements in 2 Separate Arrays
  3. Display Even and Odd numbers in an Array
  4. Sum of Even and Odd Numbers in Array in Java
  5. Remove odd numbers from an array Java
  6. Count positive negative and zero from Array
  7. Print all negative elements in an array
  8. Separate positive and negative numbers in an array
  9. Find the sum of positive numbers in an array
  10. The cumulative sum of an array in Java
  11. Find numbers that are greater than the given number from an array
  12. Find average and numbers greater than average in array

Multi-dimensional array and Matrix Programs in Java

Pre-requisites to solve these matrix programs in Java:- Matrix in Java, Multi-dimensional array

  1. Print 2D array in Java
  2. Traverse 2d Array Java
  3. Program to Print 3×3 Matrix 
  4. Sum of matrix elements in Java
  5. Sum of Diagonal Elements of Matrix
  6. Row sum and Column sum of Matrix
  7. Fill 2D Array With Random Numbers
  8. Sort 2D Array In Java
  9. Java Magic Square 2D Array
  10. Java Count Occurrences in 2D Array
  11. How to Find Minimum Value in 2D Array Java
  12. Matrix Addition in Java
  13. Subtraction of two matrices in Java 
  14. Transpose of a Matrix in Java 
  15. Matrix Multiplication in Java
  16. Menu-driven program for Matrix operations

Simple Games using Array

  1. Java Lottery Program Array
  2. Java 2d Array Tic Tac Toe Program

Java Programming Examples on String

  1. Take String Input In Java using Scanner Class
  2. How to Find Length of String in Java
  3. How to Iterate through String Java
  4. Sum of digits in a String
  5. Count No of Vowels String
  6. String Pattern Programs in Java
  7. How To Reverse a String In Java
  8. String Palindrome In Java
  9. Sort String In Java
  10. How to Compare Strings In Java
  11. Java Check If String Contains Uppercase And Lowercase
  12. Java Check If Char is Uppercase
  13. Check If String is Uppercase Java
  14. Swap Characters in String Java
  15. Generate Random Strings
  16. Java Program to Find Weight of String
  17. Find Second Occurrence of Character in String Java
  18. Find Last Occurrence of Character in String Java
  19. Java Replace nth Occurrence String
  20. Replace Last Occurrence of Character in String Java
  21. How to Replace Dot in Java
  22. How To Remove Substring From String Java
  23. Replace Special Characters In Java
  24. Java Replace String With Escape Character
  25. Java Remove Special Characters From String
  26. How To Remove Character From a String Java
  27. Remove Commas From String Java
  28. Replace Comma in String Java
  29. Golden Ratio Java Program

Number programs using String

  1. Unique Number
  2. Fascinating Number
  3. ISBN Number

String Array Programs

  1. Java Convert Number String to Array
  2. How to Iterate Through a String Array In Java
  3. Convert String Array to Lowercase Java
  4. String Array to UpperCase Java

Game Programs using Java String

  1. Hidden Word Java Program
  2. Java Secret Message Program

Collection Java Programming Examples

  1. How to Print Arraylist Without Brackets Java
  2. Unique Digits Count in Java
  3. Java Program for Shopping Bill
  4. Remove Duplicates From ArrayList Java
  5. Sort ArrayList in Java
  6. Convert ArrayList to Byte Array Java
  7. Anagram Program In Java Using List

String Programs with the help of Collection

  1. Print Vowels & Consonants in String
  2. Convert Comma Separated String to List Java
  3. Convert Pipe Delimited String to List Java

Collection & Array Programs

  1. Convert List Of List To 2d Array Java

Other Problems

  1. City Library Fine Report in Java
  2. Drivers License Exam Java Program

Subscribe

More Programs are coming soon, keep visiting. Subscribe to our newsletter and follow us on Facebook, Instagram, and Twitter to receive the latest tutorial and programs to improve your programming skills.

Keep in Touch

Leave a Comment

Your email address will not be published.