Login
Remember
Register
Ask a Question
Which of the following method asserts that both the objects refer to the same object?
0
votes
asked
Feb 12, 2020
in
JAVA
by
rahuljain1
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)
#junit-assert
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 13, 2020
by
SakshiSharma
asserSame(obj1,obj2)
...