help this pliz!
843810Aug 14 2006 — edited Sep 1 2006I am running this code, I gat about 8 errors,
public class IdentifyMyParts {
public static int x = 7;
public int y = 3;
IdentifyMyParts a = new IdentifyMyParts();
IdentifyMyParts b = new IdentifyMyParts();
a.y = 5;
b.y = 6;
IdentifyMyParts.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);
}
This is the errors am getting could anyone help me to sort out this, Thx in advance
ntifyMyParts.java:7: <identifier> expected
= 5;
^
ntifyMyParts.java:8: <identifier> expected
= 6;
^
ntifyMyParts.java:9: <identifier> expected
ntifyMyParts.x = 1;
^
ntifyMyParts.java:10: <identifier> expected
= 2;
^
ntifyMyParts.java:11: <identifier> expected
tem.out.println("a.y = " + a.y);
^
ntifyMyParts.java:12: <identifier> expected
tem.out.println("b.y = " + b.y);