In this tutorial learn how you can write a program to calculate the square of a number in java. We use the scanner class to get input from the user. Java is a high-level, class-based, object-oriented programming language that...