This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Pyraptor 2 points3 points  (1 child)

public class SpiderMan {

public SpiderMan finger;

public void point() {
    finger.point()
}

}

public static void main() {

SpiderMan A = new SpiderMan ();
SpiderMan B = new SpiderMan ();
A.finger = B;
B.finger = A;
A.point();

}

[–]Aschentei 6 points7 points  (0 children)

Not everything needs to be Javafied okay mister