Java Programs for practice

Java programs for practice will take you to the next level of understanding. Learning Java theoretically is only 20% of the training, give more emphasis to practicals. Students often claim that they have competitively good command of Java theory but less confident in developing programs. The truth is, when you do programs regularly, gradually you will understand java concepts which were earlier misinterpreted and you made foundation with wrong concepts.

If you are new to Java, we recommend you to first learn Java from Learn Java. If java is your very first programming language, we recommend you to learn C and C++, before learning java.

Begin Programming

Here at, we present a list of java programs, that you must do while learning java or after learning java. Make programs regularly, hope you enjoy learning.
Warm up:

Decision Control:


Command line arguments:

Classes and Objects

Mini Projects