what is the difference between equals method and ==
Answer Posted / ravikiran
equals will compare two objects,== will compare whether two
reference variables refer to same object or not
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is role of void keyword in declaring functions?
What is an object in java?
What is the use of toarray () in java?
What is the difference between a window and a frame in java programming?
What are the types of sockets in java?
Explain access specifiers?
What are the java ide’s?
Write a program to find the whether a number is an Armstrong number or not?
What is the maximum size of array in java?
Define class?
What is garbage collection? What is the process that is responsible for doing that in java?
What does string [] args mean?
What is methods in java?
What does flagged out mean?
What are identifiers in java?