★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
ICSE Class 10 · Computer Applications (Java) · Class 9 revision for 2027
Class 9 Java revision for Class 10 ICSE is not optional: the 2026-27 Class 10 syllabus opens with a unit called "Revision of Class IX syllabus", and the 2027 paper draws on it in both sections. Data types, operators, Scanner input, Math methods, if and switch, loops and nested loops all return. This page maps each Class 9 unit to where it is re-tested, gives a short drill on each with answers run in Java 21, and lays out a three-week plan. Our live mini batch works through the same drills.
Live online · every Class 9 unit mapped to the 2027 paper · drills run in Java 21 · three-week plan · first class free
Start here
The ICSE Java course that covers Class 9 and Class 10 together in a mini batch, the Class 11 and 12 Computer Science course for students heading to ISC, and the data structures course for those who want strong basics to grow into algorithms.

The batch / ICSE CA
Two-year ICSE Computer Applications course; Class 10 students in it revise the Class 9 basics through short timed drills.
Open the course →
Next step / ISC
For students going on to ISC, where these same basics carry every longer program.
Open the course →
Beyond the syllabus / DSA
For the student who wants loops and conditions to grow into real problem solving.
Open the course →Ans. The short version
Class 9 Java comes back in full in the ICSE Class 10 paper. The 2026-27 Class 10 syllabus begins with a revision of Class 9: OOP concepts, objects and classes, values and data types, operators, Scanner input, Math library methods, if and switch, loops and nested for loops. In the 2027 paper these return as Section A MCQs, outputs and definitions, and as the building blocks of every Section B program. Revise them with short drills: predict, run, correct. Modern Age Coders runs this revision live: an evening mini batch on Tuesdays and Wednesdays inside India, or personalised one to one lessons at a time you pick.
Q1. Which Class 9 topics does the Class 10 paper test?
All of the programming units of Class 9 are listed in the Class 10 revision unit, so all of them can be examined in 2027. The table shows how each one usually shows up in the paper's two sections.
| Class 9 unit | Section A (40 marks, compulsory) | Section B (any 4 of 6) |
|---|---|---|
| Introduction to OOP concepts | Definitions: abstraction, encapsulation, inheritance, polymorphism | Not asked on its own |
| Objects and classes | Object, class, state and behaviour | Every program is a class |
| Values and data types | Sizes, literals, escape sequences, type conversion | Choosing int, long, double, char |
| Operators in Java | Outputs with increments, %, ternary, precedence | Every calculation |
| Input in Java | Scanner methods, types of error | Every accept or input method |
| Mathematical library methods | Return types and outputs, writing expressions | Roots, powers, rounding inside programs |
| Conditional constructs | Outputs of if, switch and fall-through | Slab, menu and number-check programs |
| Iterative constructs | Loop counts, loop conversion, break and continue | Digit, series and number programs |
| Nested for loops | Iteration counts and short outputs | Patterns and series |
| Computing and Ethics | Not in the Class 10 revision list we checked; revise it only if your school asks | |
Much of Question 1 and Question 2 can be answered with Class 9 knowledge alone: types, operators, Math return types and loop counts.
Arrays, Strings and classes are Class 10 topics, but every one of those programs runs on Class 9 loops, conditions and input.
A shaky Class 9 basic usually appears as a "silly mistake" in a Class 10 program. Fixing the basic fixes the mistake.
How the whole 2027 syllabus is laid out, Class 10 units included, is on the ICSE Computer Applications syllabus explained.
Q2. What should you remember about data types?
Java has eight primitive types, and Class 10 questions mostly test their sizes, their defaults and what happens when one type is converted to another. Learn the table, then try the drill.
| Type | Size | Default value as a member | Example literal |
|---|---|---|---|
byte | 1 byte | 0 | 100 |
short | 2 bytes | 0 | 30000 |
int | 4 bytes | 0 | -45 |
long | 8 bytes | 0 | 3000000000L |
float | 4 bytes | 0.0 | 2.5f |
double | 8 bytes | 0.0 | 2.5 |
char | 2 bytes | the character with code 0 | 'Q' |
boolean | true or false only | false | true |
| # | Code | Output | Class 9 rule |
|---|---|---|---|
| 1 | float f = 7 / 4;System.out.println(f); | 1.0 | 7 / 4 is int division (1); widening to float only adds .0 |
| 2 | char c = 66;System.out.println(c + "" + (c + 1)); | B67 | An int can be stored in a char as a code; c + 1 is int arithmetic |
| 3 | System.out.println((char) ('a' - 32) + " " + (int) 'z'); | A 122 | Upper and lower case letters are 32 codes apart |
| 4 | System.out.println(10 / 4 * 4.0 + " " + 10 / 4.0 * 4); | 8.0 10.0 | Where the double enters the expression decides what is lost |
| 5 | byte b = 10;b += 120;System.out.println(b); | -126 | A byte holds at most 127; the shorthand casts silently and the value wraps round |
| 6 | System.out.println(0.1 + 0.2); | 0.30000000000000004 | Most decimals are stored approximately in a double |
(int) 9.8, which gives 9: the fraction is cut, not rounded.\n, \t and \" put a new line, a tab and a double quote inside a String.This unit and Scanner input have their own deep page: data types and input in Java for ICSE.
Q3. Which operator, input and error questions come back?
Operators return as output questions, Scanner returns in every Section B program, and the three types of error return as definitions. One drill covers all three.
| # | Code (with int p = 9, q = 4;) | Output | Rule |
|---|---|---|---|
| 7 | System.out.println(p % q + p / q * q); | 9 | 1 + 8: remainder plus the part divided out gives back p |
| 8 | System.out.println((p > q ? p - q : q - p) + " " + (p != q && q > 5)); | 5 false | Ternary picks a branch; && needs both sides true |
| 9 | int z = 2;z *= z + 3;System.out.println(z); | 10 | The whole right side is worked first: 2 × 5 |
| 10 | int w = 5;int v = w-- * 2 + --w;System.out.println(v + " " + w); | 13 3 | 5 × 2, then w goes 4 and 3; 10 + 3 |
| 11 | System.out.println(-17 % 5 + " " + 17 % -5 + " " + 5.5 % 2); | -2 2 1.5 | The remainder takes the sign of the left operand; % works on doubles too |
Scanner sc = new Scanner(System.in);
System.out.print("Roll number: ");
int roll = sc.nextInt();
System.out.print("Full name: ");
String name = sc.nextLine();
System.out.println("[" + roll + "][" + name + "]");
// Typed: 14, Enter, Anya Bose, Enter
// Output:
Roll number: Full name: [14][]
nextInt reads 14 but leaves the Enter behind. nextLine then reads that empty line at once, so the name is never asked for.
Scanner sc = new Scanner(System.in);
System.out.print("Roll number: ");
int roll = sc.nextInt();
sc.nextLine(); // throw away the Enter
System.out.print("Full name: ");
String name = sc.nextLine();
System.out.println("[" + roll + "][" + name + "]");
// Same input. Output:
Roll number: Full name: [14][Anya Bose]
Alternatively, read the name first. next() reads one word only, so it cannot read "Anya Bose" either.
| Error | When it is found | Example we ran | What Java said |
|---|---|---|---|
| Syntax error | At compile time; the program never runs | int a = 5 with no semicolon | Semi.java:3: error: ';' expected |
| Runtime error | While running; the program stops | total / count with count 0 | java.lang.ArithmeticException: / by zero |
| Runtime error | While running, on bad input | "fourteen" typed for nextInt() | java.util.InputMismatchException |
| Logical error | Never reported; the output is simply wrong | avg = a + b / 2 for a = 8, b = 6 | Prints 11 instead of 7, with no message |
Operators have a full page of their own: operators in Java for ICSE Class 10. The ten Math methods, also Class 9 content, are on Math library methods for ICSE.
Q4. What about conditions, loops and nested loops?
Conditions and loops are where Class 9 matters most, because every Class 10 program uses them. Revise them as three skills: choosing the right construct, counting passes exactly, and converting one loop into another.
| # | Code | Output | Rule |
|---|---|---|---|
| 12 | int s = 0;for (int i = 2; i <= 20; i += 6) s += i;System.out.println(s); | 44 | i is 2, 8, 14 and 20; 26 fails the test |
| 13 | int n = 1;while (n < 100) n *= 3;System.out.println(n); | 243 | 81 is still below 100, so one more pass runs |
| 14 | int k = 0;do { k += 2; } while (k > 50);System.out.println(k); | 2 | An exit-controlled loop runs once even when the test is false |
| 15 | for (int i = 1; i <= 10; i++) { if (i % 3 == 0) continue; if (i > 7) break; System.out.print(i + " ");} | 1 2 4 5 7 | continue skips 3 and 6; break ends the loop at 8 |
| 16 | int cnt = 0;for (int i = 1; i <= 3; i++) for (int j = 1; j <= i * 2; j++) cnt++;System.out.println(cnt); | 12 | The inner loop runs 2, 4 and 6 times |
| 17 | int m = 3; String sz;switch (m) { case 1: case 2: sz = "low"; break; case 3: case 4: sz = "mid"; break; default: sz = "high";}System.out.println(sz); | mid | Stacked case labels share one block |
| 18 | int g = 75;System.out.println(g >= 90 ? "A" : g >= 60 ? "B" : "C"); | B | A nested ternary is read left to right like an if-else ladder |
int s1 = 0;
for (int i = 1; i <= 15; i += 2)
s1 += i;
int s2 = 0, j = 1;
while (j <= 15) {
s2 += j;
j += 2;
}
int s3 = 0, k = 1;
do {
s3 += k;
k += 2;
} while (k <= 15);
System.out.println(s1 + " " + s2 + " " + s3);
// Output:
64 64 64
To convert a for loop, move the start value above the loop and the update to the last line of the body. The three agree here because the do-while condition is true on its first check.
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 4; j++)
System.out.print((char) ('A' + i + j) + " ");
System.out.println();
}
// Output:
A B C D
B C D E
C D E F
D E F G
The outer loop picks the row, the inner loop the column, and println ends each row. Without the cast, the codes 65, 66 and so on would print instead of letters.
Patterns built from nested loops are on ICSE pattern programs in Java, longer loop programs on loop programs in Java for ICSE, and switch-based menus on ICSE menu-driven programs.
Q5. How long should Class 9 revision take?
Three weeks of short daily sessions, about 40 minutes each, is enough for most students who studied Class 9 properly. Do it early in Class 10, before arrays and Strings, so the new chapters sit on firm ground.
| Week | Units | Daily work | Done when |
|---|---|---|---|
| 1 | OOP concepts, objects and classes, data types, operators | Say the definitions aloud; ten output questions a day, traced on paper | You can give every type's size and predict mixed-type outputs without a slip |
| 2 | Input, errors, Math methods, conditional constructs | Write one short program a day with Scanner and an if-else ladder or switch | You know each Math return type and never lose a line to the nextLine trap |
| 3 | Loops, loop conversion, nested loops | Count passes for five loops a day; write one pattern and one digit program | You can convert any for loop to while and do-while and count passes exactly |
The full Class 10 picture, with month-by-month timing, is on ICSE Computer Applications board exam preparation.
Q6. How does the mini batch revise Class 9?
Students joining in Class 10 rarely need Class 9 retaught from the start. They need their gaps found quickly and closed, while Class 10 work carries on.
For a new student, the first few Tuesday 5:30 PM IST classes begin with a brief mixed drill across the Class 9 units. Each student's wrong answers show which units need attention.
Ten minutes of each Tuesday class goes to the weakest Class 9 unit in the group, with fresh questions traced on paper and run in BlueJ on a shared screen.
On Wednesday at 8:00 PM IST, students hand-write a Class 10 program and the mentor marks it line by line using board-style criteria. Slips in types, operators or loops are named as Class 9 slips so students see the link.
Every class keeps time for questions, including ones from school homework on Class 9 topics.
Full two-hour mock papers test Class 9 and Class 10 content together, the way the 2027 paper will.
With six students at most, every student's Class 9 gaps get looked at individually.
Batch or personalised: you choose
The diagnostic drill, the traced questions and the three-week plan are the same in either format. Inside India a family can join the two-evening group, capped at six, or book private lessons; students overseas are always taught one to one. Fees are charged month by month and nobody pays an admission fee.
Option 1 · Fixed batch timings
₹2,999
per month, two live classes a week
Option 2 · Choose your own timing
₹4,999
per month, one private class a weektwo private classes a week, at a time set with you
Outside India: the ICSE Computer Applications course runs as personalised one to one, two private classes a week at a time set in your own time zone. The mini batch is taught for families in India.
A student who joins Class 10 with large Class 9 gaps, or who changed schools or boards, often moves fastest with a few weeks of one to one revision before joining the batch. A student with small gaps can revise inside the batch while Class 10 continues. The fee panel above converts to your local currency.
Studying outside India?
ICSE schools outside India follow the same syllabus, so their Class 10 students meet the same revision unit and the same 2027 paper. Abroad, the revision is one to one, at an after-school time in the student's own time zone.
| Where you live | Time difference | Usual class window, local time | Format |
|---|---|---|---|
| India (IST) every Indian city | IST | Tue 5:30 PM, Wed 8:00 PM | Mini batch or 1-on-1 |
| United Arab Emirates Dubai, Sharjah | 1 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Indonesia and Thailand West Java, Bangkok area | 1 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
| Singapore Singapore | 2 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
The slot is agreed after the free demo and can shift during school exams. Details for overseas families are on ICSE Computer Applications classes in the Gulf and abroad.
What families say
Real reviews from real families. We neither write nor commission them.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
The rest of the Class 10 series
Every page in the ICSE Class 10 Computer Applications series, grouped by what you need: classes, each chapter, Section B programs, question practice, notes and revision, and the exam itself.
CBSE Class 10 AI (417): The Mon and Wed 9 PM AI batch CBSE AI 417 syllabus explained CBSE AI important questions Sample paper and mock tests
Questions about Class 9 revision
Yes. The 2026-27 Class 10 syllabus begins with a unit called Revision of Class IX syllabus, covering OOP concepts, objects and classes, data types, operators, input, Math methods, conditional constructs, loops and nested for loops. Questions on these can appear in both sections of the 2027 paper.
Operators, data types and type conversion, Math method return types, conditional constructs and loops matter most, because they appear directly in Section A and are used in every Section B program. OOP definitions and Scanner input are smaller topics but come up regularly as short questions.
Computing and Ethics is a Class 9 unit, but it is not in the Class 10 revision list we checked in the 2026-27 syllabus. Focus your Class 10 revision on the programming units, and revise ethics only if your school includes it in its own tests.
Spend about three weeks on short daily sessions: week one on concepts, data types and operators; week two on input, errors, Math methods and conditions; week three on loops and nested loops. Trace every output on paper before running it, and keep a page of the mistakes you made.
The basics are the Class 9 units: what objects and classes are, the eight primitive data types, operators and their precedence, input with the Scanner class, the Math library methods, if-else and switch, the for, while and do-while loops, and nested for loops. Class 10 adds methods, constructors, arrays, Strings, library classes and encapsulation on top of them.
A syntax error breaks Java's grammar, such as a missing semicolon, and is caught when compiling. A runtime error stops a running program, such as dividing an int by zero. A logical error produces wrong output with no message at all, such as a wrong formula. Only the logical error must be found by testing.
nextInt() reads the number but leaves the Enter key in the input. The next nextLine() reads that leftover empty line immediately, so it seems to be skipped. Add an extra sc.nextLine() after nextInt() to clear it, or read the String before the number.
Yes, they are a standard one-mark question. byte is 1 byte, short 2, int 4, long 8, float 4, double 8 and char 2. boolean holds only true or false. Knowing the ranges also explains why a byte variable can wrap round to a negative value.
Yes. Our ICSE group meets twice a week, at 5:30 PM IST on Tuesday and 8:00 PM IST on Wednesday; a diagnostic drill finds each student's Class 9 gaps, and short weekly drills close them while Class 10 continues. A child who needs more attention can switch to private lessons scheduled around the family.
Start
In the free demo your child takes a short mixed drill across the Class 9 units, then traces the wrong answers with the mentor and runs them in BlueJ. You come away knowing exactly which basics need work before Class 10 gets harder, and whether the mini batch or one to one fits better.
Before booking, you may like to browse the ICSE Class 10 Java classes overview, or test yourself with important questions for ICSE Computer Applications.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Every class is live video. The form requests a callback and reserves nothing.
A full live class of about 45 to 60 minutes at a slot you pick, with a written skill report and learning roadmap on WhatsApp afterwards. The fee is adjusted against your first month if you enrol.
Book a priority demo