When a
java application is run as:
java App 1 2
If the main method is defined as follows:
public static void main(
String args[])
args[0] will contain the value "1"
args[1] will contain the value "2"
In your case, you would have to convert the String values to int before using them to initialize a Point object.