Quick actions

cmd+k|ctrl+k

Navigation

Languages

learning

Snippet info

Language

Java

Visibility

public

Author

dennis.ruhiu

Created

2018-03-21T15:12:13Z

Updated

2018-03-21T15:56:24Z

class Main {
    public static void main(String[] args) {
        IdentifyMyParts a = new IdentifyMyParts();
        IdentifyMyParts b = new IdentifyMyParts();
        a.y = 5;
        b.y = 6;
        a.x = 1;
        b.x = 2;
        
        System.out.println("a.y =" + a.y);
        System.out.println("b.y =" + b.y);
        System.out.println("a.x ="+ a.x);
        System.out.println("b.x =" + b.x);
        System.out.println("IdentifyMyParts.x =" + IdentifyMyParts.x);
    }
}
class IdentifyMyParts {
    public static int x =7;
    public int y = 3;
}
INFO