whats the difference between == and .equal ?
Answer Posted / guest
== compares the objects but .equals compare the value of the
objects.
| Is This Answer Correct ? | 18 Yes | 9 No |
Post New Answer View All Answers
Explain the use of sublass in a java program?
What do you understand by overloading and overriding in java?
What is variable and constant explain with example?
Explain about fail fast iterators in java?
What is ‘has a’’ relationship in java?
Can list contain null in java?
Java Compiler is stored in JDK, JRE or JVM?
Give me example of derived data types.
What is a numeric literal?
How are destructors defined in java?
What is null in java?
What is the use of System class?
What are structs in java?
What is mnemonic code?
What are the different access modifiers available in java?