what is the difference between equals method and ==
Answer Posted / suganthi
equals method will compare two strings where two strings are
equal or not but == method will compare reference variables.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is java string pool?
Write a program to print the pattern given below
What is a java predicate?
Is object a data type?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
Why are parameters used in functions?
In java, what is the difference between method overloading and method overriding?
What is namespace in java?
What is difference between Heap and Stack Memory?
Is a class subclass of itself?
What is general methodology?
What are the java ide’s?
What is a package in java? List down various advantages of packages.
what is heap memory?
What is deserialization?