Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Which of the following is true about this Java snippet: String a = "hello"; String b = "hello"; boolean x = (a == b);

x is never true because you are comparing two different Objects.
An exception is thrown because you cannot compare Strings this way.
x is true because the String values are different.
x can be true because of Java String interning.
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon