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
who can i handle multiple client in RMI
How do you sort in ascending order in java?
What is the difference between a factory and abstract factory pattern?
What do you understand by looping in java? Explain the different types of loops.
What are synchronized methods and synchronized statements in java programming?
What is the use of static methods?
What is jagged array in java?
Why do we declare a class static?
Can you run java program without main method?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is passing by reference in java?
What is function and method in java?
Tell me about your ability to work under pressure
What is unicode in java?
What is abstract class? Explain