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 are different type of exceptions in java?
What is an empty string in css?
Explain parallel processing in java8?
Difference between default and protected access specifiers?
Which of the following is not an isolation level in the JDBC
What are the legal parameters?
Why string is not a wrapper class?
How many unicode characters are there?
What is formatted output?
Is zero a positive integer?
Tell me a few examples of final classes defined in Java API?
What are the two basic ways in which classes that can be run as threads may be defined?
How do you clear a list in java?
Compare overloading and overriding?
What is java basic concept?