Question
a.
Compare strings value to string object
b.
Compare string value to string value
c.
Compare string object to another string object
d.
Compare string object to another string value
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The compareTo() function is used to ________________
Similar Questions
Discover Related MCQs
Q. Function equals() is _______________ and equalIgnoreCase() is _________________
View solution
Q. The function lastIndexOf() is used to ___________________
View solution
Q. String class have a concat() function that is used to _____________________
View solution
Q. If two index are given as argument to substring function then ___________________
View solution
Q. If only one parameter is passed to substring function then __________________
View solution
Q. Which is the function to get the character present at a particular index in the string?
View solution
Q. What does function length do in String class?
View solution
Q. How to declare an object of class String?
View solution
Q. Which is a true statement for object of String class?
View solution
Q. Which among the following is a serialization descriptor for any class?
View solution
Q. RandomAccessFile can be used to _______________________
View solution
Q. PushBackReader allows the streams to be pushed back to the stream.
View solution
Q. Which exception handler can be used when character encoding is not supported?
View solution
Q. StringReader handles _____________________
View solution
Q. Which class can handle IO class interrupt?
View solution
Q. Reader class is _________________
View solution
Q. Which class among the following makes incorrect assumptions?
View solution
Q. What does FilePermission class do?
View solution
Q. FileInputStream _________________________
View solution
Q. What is a FileDescriptor?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!