Can we compare two strings in java?
Answer / Umesh Chandra
Yes, you can compare two strings in Java using equality operator (==), equals() method or by comparing their lexicographic order with comparison operators like >, <, >=, <=.
| Is This Answer Correct ? | 0 Yes | 0 No |
Discuss 2D arrays.
explain about casting of objects?
What are static methods?
Who developed java?
What is sortedmap interface?
Can an interface be defined inside a class?
Which list is sorted in java?
What is lexicographically smallest string?
Say any two properties in beans?
Can we have 2 main methods in java class?
What is the difference between a vector & an array list?
Why are constructors used?