Java Programs List- Java Programs Examples With Output

Java Programs List- Java Programs Examples With Output

This Section consists of a List of Java Programs that are mostly asked in Interviews and Coding Exams. The Best way to code for any Program is to understand the logic behind it, If your logic is Strong and clear you can code any program in any Language in this World believe me.

Keeping this in mind I have designed this section consisting of Java programs but also containing Logic and Program explanation, Related questions section, Variation of writing the same program, and whatnot!

Note: if you practice this list you can easily crack any programming exam and service-based company interview easily.”The thing is you must practice”!

Java Programs List

1. Java Basic Programs

SR.NOJava Basic Programs
1.Java Program to Implement Mathematical Functions Defined in Java Math Class
2.Java Program to Perform logical and Relational Operations
3.Java Program to Find Odd Numbers up to Given Input Value
4Java Program to Find Even Numbers up to Given Input Value
5.Java Program to Find Odd Numbers up to to Given Input Value
6.Java Program to Calculate Percentage of Students
7.Java Program To Determine Palindrome Number
8.Java Program to Find Minimum and Maximum Number
9.Java Program to Find Factorial of Given Number
10.Java Program to Implement Fibonacci Series/Sequence

Java Arrays Programs

SR.NoJava Arrays Programs
1.Java Program to find Minimum and Maximum Element in an Array.
2.Java Program to Sort Array Elements in Ascending Order.
3.Java Program to Sort Array Elements in Descending Order.
4.Java Program to Display Array Items at Even Positions.
5.Java Program to Display Array Items at Even Positions.
6.Java Program to Calculate Sum And Average of Array Elements.
7.Java Program to Find Index of Specific Element in the Array.
8.Java Program to Find Common Elements Between Two Arrays.
9.Java Program to Add/Insert Specific Elements to Array.
10.Java Program to Delete/Remove Specific Elements to Array.
11.Java Program to Calculate Frequency of Each Element in the Array.
12.Java Program to Find Even Numbers in the Array.
13.Java Program to Find Odd Numbers in the Array.
14.Java Program to Search Given Number/Element in the Array.
15Java Program To Print Array Elements in Reverse Order.

Java Matrix Programs

SR.NOJava Matrix Programs
1.Java Program Add/Sub Two Matrices.
2.Java Program to Multiply two Matrices.
3.Java Program to Find Transpose of Given Matrix.

Java String Programs

SR.NOJava String Programs
1.Java Program to Perform Basic String Operations Using Method in String Class.
2.Java Program to convert String into Lowercase or Uppercase.
3.Java Program to search duplicate words in the String.
4.Java Program to Check whether String is Palindrome or not.
5.Java Program to count vowels and consonants used in the sentence.
6.Java Program to count a number of characters in the String.
7.Java Program to search the longest repeating sequence.
8.Java program to check whether strings are anagram or not.
9.Java Program to swap two String without using Temporary Variable.
10.Java program to check whether strings are anagrams or not.

Leave a Comment