Equals - Java Quiz Question


What will be the output of the following program?


A
name and nameObj are same false
B
name and nameObj are same true
C
Some other output
D
Compilation Error or Runtime Error