How do you compare two strings? any predefined method for
this?
Answer Posted / guest
equals() method
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Where import statement is used in a java program?
What about anonymous inner classes in java?
What is the difference between size and length in java?
how come we know the object is no more used in the class?
What is the purpose of the return statement?
What is the relationship difference the canvas class and the graphics class?
What is the importance of hashcode() and equals() methods?
How do you define a set in java?
How does multithreading take place on a computer with a single cpu in java programming?
Can a constructor be protected?
How are variables stored?
How will you add panel to a frame?
What is a dot notation?
Explain the init method?
How to display all the prime numbers between 1 and 100