• Tutorials
  • Courses
  • Tracks

Question 8

Last Updated :
Discuss
Comments

Which JUnit 5 assertion is used to check if two references point to the same object?

assertEquals()

assertSame()

assertNotSame()

assertTrue()

Share your thoughts in the comments