/**
 * @file Point.java
 * @author Valery Samovich
 * @version 1
 * @date 2014/01/13
 */

package com.samovich.java.basics.concepts.objects;

public class Point {

    // public fields.
    public int x = 0;
    public int y = 0;


    // constructor method with two parameters.
    public Point(int a, int b) {
        x = a;
        y = b;
    }
}
@@ -74,9 +74,9 @@
  201
-4
+5
 /01/
@@ -342,8 +342,9 @@
 %0A    %7D%0A%7D
+%0A

Update Point.java