SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

SDET Flashcards - Java

» Start this Course
(Practice similar questions for free)
Question:

Difference between == sign and equals method

Author: Ed Howard



Answer:

== is an operator that compares the reference . .equal is a method that compares the content *Can compare strings but only literally. Use .equals to compare strings


0 / 5  (0 ratings)

1 answer(s) in total

Author

Ed Howard
Ed Howard