Career Tracks
Exams
MCQ
Companies
Opportunities
Pricing
MCQ Practice
Programming
C — Output Questions
Question
Medium
tcs-nqt
What is the difference between == and equals()?
A
== compares reference, equals() compares content
B
Both are same
C
== compares content
D
equals() compares reference
Show Answer
← Back to C — Output Questions questions