The best way to learn Java programming is by practicing examples. The page
contains examples on basic concepts of Java. You are advised to take the
references from these examples and try them on your own.
All the programs on this page are tested and should work on all platforms.