what is the difference between equals method and ==
Answer Posted / leo zhao
Hi Ravi,
a==c----> returns true, only if obj1 c = a.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
If an object is garbage collected, can it become reachable again?
What is the java virtual machine?
How do generics work in java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What is a newline character in java?
What is an array in java?
What is the difference between java applets and applications?
What is default constructors?
What is an example of procedure?
make a method which any number and any type of argument and print sum of that arguments.....
What are the ways to instantiate the class class?
What is the difference between static (class) method and instance method?
Explain thread life cycle in java?
What is the purpose of an interface?
Is list thread safe in java?