here is one of the assignment that i am not sure. let me know if you know something.

Suppose that the Foo class has a clone method. what typically happens when an call x=(Foo) y.clone(); is given for two Foo objects?

A) x is set to refer to a copy of y's object
B) x is set to refer to the same object that y refers to
C) Compiler error
D) run-time error