this obj java meaning

Solutions on MaxInterview for this obj java meaning by the best coders in the world

showing results for - "this obj java meaning"
Rafael
27 Nov 2016
1public class Point {
2    public int x = 0;
3    public int y = 0;
4        
5    //constructor
6    public Point(int x, int y) {
7        this.x = x;
8        this.y = y;
9    }
10}
11
Dean
16 Mar 2016
1public class Point {
2    public int x = 0;
3    public int y = 0;
4        
5    //constructor
6    public Point(int a, int b) {
7        x = a;
8        y = b;
9    }
10}
11