MCQs > IT & Programming > Java > Consider the below statement:- String string = 'UpWork'; Which of the following will output 'o'?

Java MCQs

Consider the below statement:- String string = "UpWork"; Which of the following will output "o"?

Answer

Correct Answer: System.out.println(string.substring(3, 4));

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it