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
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
Does java allow default arguments?
Why is serialization required?
Does java trim remove newline?
How do you sort arrays in java?
What technique is carried out to find out if a particular string is empty?
What is exception propagation?
What is implicit object in java?
Which is easier .net or java?
Can a java program have 2 main methods?
Explain listiterator and methods in listiterator?
What is the difference between a method and a procedure?
Does constructor be static?
Explain about collection interface in java?
What is immutable state?