Answer Posted / k.b.s.reddy
we can use a string function...
eg:
strcmp("string1","string2")
it return 0 if string1=string2
it return >0 if string1>string2
it return <0 if string1<string2.
value returned depends on anscii calues of strings...
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a local variable and an instance variable?
What is indexof?
What is meant by null and void?
What is ph and buffers?
How hashset works internally in java?
What is the reflection?
What is composition in java?
Can you achieve runtime polymorphism by data members?
Which is the best approach for creating thread ?
Should database connections be singleton?
Does string is thread-safe in java?
What is java literals?
What is update method called?
Explain notify() method of object class ?
What is the difference between error and an exception?