On Mon, 03 Dec 2018 21:27:52 +0000, faissaloo wrote:
> Then shouldn't the following output false, false, true?

An object reference is a pointer value. The pointer values are copied. The 
pointed-at objects are not copied.

Furthermore, the syntax

    Object[6] array = new Object();

only allocates one Object. Each item in the array is an object reference 
to the same object.

Reply via email to