Get 30 most expected Section A-style Java questions with answers. Covers output prediction, error finding & code tracing. Ideal for ICSE 2026 exam.
Practice real exam-style output prediction questions.
Sharpen your logic and debugging skills with top-level problems.
Get the PDF immediately after payment. Study anytime, anywhere.
int x = 5, y = 10;
x = x++ + ++y;
System.out.println(x);
Answer: 16
Explanation: x++
is 5 (post-increment, x becomes 6 after this line), ++y
is 11 (pre-increment). So, x = 5 + 11 = 16.
String s = "Programming";
System.out.println(s.substring(4, 7).toUpperCase());
Answer: RAM
Explanation: Substring from index 4 to 6 is "ram
", but since indexes start from 0, index 4 is 'r', 5 is 'a', 6 is 'm'. So s.substring(4, 7)
= "ram", converted to uppercase = RAM.
Get the full PDF containing Section A type 30 questions covering the entire ICSE Class 10 Computer Applications syllabus.
UPI ID: amitsirtutor@icici
📩 Send Payment Screenshot on WhatsApp
Contact (WhatsApp): +91 81819 69432
After Payment:
Send payment screenshot on WhatsApp. You’ll receive the full PDF within 15 minutes.