MCQs > IT & Programming > Java > Output of the given program? public class Test102 { public static void main(String[] args) { String s = 'string102'; String t = 'string' + (9 * s.length() + 3); String u = 'string' + 102; System.out.println( (s==t) + '-' + (s==u) ); } }

Java MCQs

What is the output of the given program? public class Test102 { public static void 
main(String[] args) { String s = "string102"; String t = "string" + (9 * s.length() + 3); String
u = "string" + 102; System.out.println( (s==t) + "-" + (s==u) ); } }

Answer

Correct Answer: false-true

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