Basic Methods of JAVA (1)
This post will provide functions and examples of basic methods of JAVA print(), println() method System.out.print(data) - a print method doesn’t add a new line character to the output System.out.println(data) - This method displays the string parameter on the console. - It then terminates the output line so that each call to println displays its output on a new line random() method Math.random()..