#20Multiple Choice
Given the code fragment: String h1 = "Bob"; String h2 = new String ("Bob"); What is the best way to test that the values of h1 and h2 are the same?
Premium Content
Create a free account to preview more questions, or enroll for full access.
Get Started Free