The list of Java programs from beginner to advanced will help you to learn Java programming in an easy way. These Java programs implement the basic concepts of Java such as Object-Oriented Programming, functions, class, exception Handling, loop, array, etc. These Java programming examples are very simple and well explained along with the output.
Java Numbers
- Reverse the Number
- Prime Number
- Twisted Prime
- Nth Prime Number
- Automorphic Number
- Palindrome Number
- Neon Number
- Pronic Number
- Happy Number
- Special Number
- Fascinating Number
- Spy Number
- Buzz Number
- Nelson Number
Java Number Conversion
Java String
- Reverse String
- Palindrome String
- Pangram String
- Count Characters in a String
- Count Words in a String
- Reverse a Sentence Word by Word
- Sort Strings in Alphabetical Order
- Frequency of a substring in a string
- Check if two String are Anagram
- All permutations of a string
- Check if String Contains a Special Character in Java
- Remove HTML Tags from String
- Capitalize the First letter of Each Word in a String
- Convert Char Array to a String in Java
Java List and Array
- List to array
- GCD of array
- LCM of array
- Sort Elements by Frequency
- Array of Objects
- Add two Matrices
- Multiply two Matrices
- Find Duplicates in the Array
- Sort ArrayList by Property
- Find Most Repeated Element in Array
- Reverse Array in Java
- Reverse List in Java
Java Patterns
Java Mathematics
- Calculate Combination in Java
- Random Number Generator
- Fibonacci Series
- Sum of First n Even Numbers
- Next Largest Number using same Digits