The java programming language is easier than C++ because the memory management is done automatically by the garbage collector.
The java language...
To learn how to program in JAVA, check this core java tutorial :
Please, check the tutorial which deals with BufferedReader and InputStreamReader in the how-to-program-in-java dot com website.
Separate names with a comma.