Login and Register ×
Check your Email for the OTP
ICSE Computer Application - Class - X ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOL
⚠ Report ✓ Question Verified Copy Link
String[] words = {"Java", "is", "fun"}; System.out.println(words[0].length() + words[2].length());
Explanation:
words[0] = "Java" → words[0].length() = 4.
words[2] = "fun" → words[2].length() = 3.
Total:
4
+
3
=
7
4+3=7.
Related Topic:
Share Above MCQ
Learn More MCQ Questions from ICSE Computer Application - Class - X ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOL