1
Fork 0
mini-java/miniJava/tests/pa3_tests/pass308.java

21 lines
323 B
Java
Raw Normal View History

2014-04-08 00:06:13 +00:00
/**
* COMP 520
* Identification
*/
class Pass08 {
public static void main(String[] args) {
A08 a08 = new A08();
Pass08 p08 = new Pass08();
p08.a = a08;
a08.p = p08;
int y = p08.a.p.a.x;
}
public A08 a;
}
class A08 {
public Pass08 p;
public int x;
}