Aa

Text size

?

Map / Using Objects / 4

🔮 Predict

== or equals?

For Strings, == asks "the same object?" and equals asks "the same letters?". What is printed?

  • equals()
  • ==