whats the difference between == and .equal ?
Answer Posted / tarun
equals() method compare the character inside the string object
== operator compare two object reference to see whether they
refer same instance
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Is arraylist ordered in java?
What are the skills required for core java?
How many types of threads are there in java?
What is instance means in java?
What do you meant by active and passive objects?
How to compare two strings in java program?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is a arraylist in java?
Explain notify() method of object class ?
What is the SimpleTimeZone class?
What is a function in programming?
What are functions in java?
Does string isempty check for null?
What is defined as false sharing in the context of multithreading?
How do we access static members in java?