No.Here == operator compares the memory address of the reference variable not the contents of the objects referenced by the veriable.