The compareTo() function is used to ________________
(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
This question was posed to me in an internship interview.
This intriguing question originated from String Class in portion Inbuilt Classes of Object Oriented Programming