0 votes
in JAVA by
Which of the following method asserts that both the objects refer to the same object?

assertFalse(obj1==obj2)

assernotSame(obj1,obj2)  

assertEquals(obj1=obj2)

asserSame(obj1,obj2)

1 Answer

0 votes
by
asserSame(obj1,obj2)

Related questions

0 votes
asked Apr 9, 2021 in JAVA by Robindeniel
+1 vote
asked Feb 12, 2020 in JAVA by rahuljain1
...