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 are the different types of garbage collectors in java?
Tell us something about an iterator.
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is variable and rules of variable?
Write an algorithm for quick sort?
What is use of static in java?
Can we return null in java?
How to sort an unsorted array in java?
Which software is used for java programming?
Can we change the value of static variable?
What are the kinds of polymorphism?
Can you explain inner class.
What are the advantages of packages in java?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
How do you reverse sort in java?