what is the difference between equals method and ==
Answer Posted / thevendhiran.k
equal method is used to check whether the two strings are
equal(same). exmpl: if the 1st string is 'deva' then it ll
check the 2nd is also 'deva'. whereas = is a assignment
operator used to assign a value to the variable.
Is This Answer Correct ? | 13 Yes | 54 No |
Post New Answer View All Answers
What is the reflection?
can any body body expalin best definitions & best real time exaples for opps concepts.
Explain about class in java?
Can we create our own daemon thread?
why not override thread to make a runnable? : Java thread
What is java virtual machine? Explain
What is the difference between yielding and sleeping?
What value is a variable of the string type automatically initialized?
Can we override static methods in java?
How many functional interfaces does java 8 have?
How many bits is a boolean?
Explain the importance of thread scheduler in java?
What sorting algorithm does javascript use?
How do you compare values in java?
Give some features of interface?