A

Admin • 828.03K Points
Coach

Q. What will be the result?
"hello" == "hello"

  • (A) true
  • (B) false
  • (C) Compile-time error
  • (D) Runtime error

Explanation by: Admin
Both are string literals and refer to the same object in the string pool.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.