Correct Answer: S1.compareTo(s2
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
"abcdefgh".substring(1, 3) returns ________.
When method printf requires multiple arguments, the arguments are separated with ________.
Assume calendar calendar = new gregoriancalendar(). ________ returns the month of the year.
Assume calendar calendar = new gregoriancalendar(). ________ returns the number of days in a month.
Assume calendar calendar = new gregoriancalendar(). ________ returns the week of the year.
You want to use transaction without connecting to a database every time a page is requested. Which of the following is a suitable solution?
Which interface allow a servlet to set the content length and MIME type, while replying to a client?
Output of the following program? class student { public : int marks; void disp() { cout<<'its base class' }; class topper:public student { public : void disp() { cout<<'Its derived class'; } } void main() { student s; topper t; s.disp(); t.disp(); }
Which is true about the stub object?
Where are victim hosts located with respect to a firewall?