ICSE Class 10 · Computer Applications (Java) · Class 9 revision for 2027

Class 9 Java revision for Class 10 ICSE: the topics that come back, and a drill for each.

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

Courses where the Java basics are rebuilt

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.

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?

ICSE Class 9 computer topics in Class 10: where each one comes back

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 unitSection A (40 marks, compulsory)Section B (any 4 of 6)
Introduction to OOP conceptsDefinitions: abstraction, encapsulation, inheritance, polymorphismNot asked on its own
Objects and classesObject, class, state and behaviourEvery program is a class
Values and data typesSizes, literals, escape sequences, type conversionChoosing int, long, double, char
Operators in JavaOutputs with increments, %, ternary, precedenceEvery calculation
Input in JavaScanner methods, types of errorEvery accept or input method
Mathematical library methodsReturn types and outputs, writing expressionsRoots, powers, rounding inside programs
Conditional constructsOutputs of if, switch and fall-throughSlab, menu and number-check programs
Iterative constructsLoop counts, loop conversion, break and continueDigit, series and number programs
Nested for loopsIteration counts and short outputsPatterns and series
Computing and EthicsNot in the Class 10 revision list we checked; revise it only if your school asks

Section A leans on Class 9

Much of Question 1 and Question 2 can be answered with Class 9 knowledge alone: types, operators, Math return types and loop counts.

Section B is built on it

Arrays, Strings and classes are Class 10 topics, but every one of those programs runs on Class 9 loops, conditions and input.

Gaps show up late

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 basics ICSE: values, data types and type conversion drill

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.

TypeSizeDefault value as a memberExample literal
byte1 byte0100
short2 bytes030000
int4 bytes0-45
long8 bytes03000000000L
float4 bytes0.02.5f
double8 bytes0.02.5
char2 bytesthe character with code 0'Q'
booleantrue or false onlyfalsetrue

Drill: predict, then check

#CodeOutputClass 9 rule
1float f = 7 / 4;
System.out.println(f);
1.07 / 4 is int division (1); widening to float only adds .0
2char c = 66;
System.out.println(c + "" + (c + 1));
B67An int can be stored in a char as a code; c + 1 is int arithmetic
3System.out.println((char) ('a' - 32) + " " + (int) 'z');A 122Upper and lower case letters are 32 codes apart
4System.out.println(10 / 4 * 4.0 + " " + 10 / 4.0 * 4);8.0 10.0Where the double enters the expression decides what is lost
5byte b = 10;
b += 120;
System.out.println(b);
-126A byte holds at most 127; the shorthand casts silently and the value wraps round
6System.out.println(0.1 + 0.2);0.30000000000000004Most decimals are stored approximately in a double
  1. Implicit conversion (widening) happens automatically from a smaller type to a larger one: int to long, int to double.
  2. Explicit conversion (casting) is written by the programmer, as in (int) 9.8, which gives 9: the fraction is cut, not rounded.
  3. In a mixed expression every value is promoted to the widest type present before the operator works.
  4. Escape sequences such as \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?

Revision of Class 9 syllabus ICSE computer: operators, Scanner input and errors

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.

Operator drill

#Code (with int p = 9, q = 4;)OutputRule
7System.out.println(p % q + p / q * q);91 + 8: remainder plus the part divided out gives back p
8System.out.println((p > q ? p - q : q - p) + " " + (p != q && q > 5));5 falseTernary picks a branch; && needs both sides true
9int z = 2;
z *= z + 3;
System.out.println(z);
10The whole right side is worked first: 2 × 5
10int w = 5;
int v = w-- * 2 + --w;
System.out.println(v + " " + w);
13 35 × 2, then w goes 4 and 3; 10 + 3
11System.out.println(-17 % 5 + " " + 17 % -5 + " " + 5.5 % 2);-2 2 1.5The remainder takes the sign of the left operand; % works on doubles too

The Scanner trap every Class 10 student meets

Skip.javanextInt then nextLine
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.

Fixed.javaone extra line
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.

Syntax, runtime and logical errors

ErrorWhen it is foundExample we ranWhat Java said
Syntax errorAt compile time; the program never runsint a = 5 with no semicolonSemi.java:3: error: ';' expected
Runtime errorWhile running; the program stopstotal / count with count 0java.lang.ArithmeticException: / by zero
Runtime errorWhile running, on bad input"fourteen" typed for nextInt()java.util.InputMismatchException
Logical errorNever reported; the output is simply wrongavg = a + b / 2 for a = 8, b = 6Prints 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?

Conditional and iterative constructs: the Class 9 drill for Class 10

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.

#CodeOutputRule
12int s = 0;
for (int i = 2; i <= 20; i += 6) s += i;
System.out.println(s);
44i is 2, 8, 14 and 20; 26 fails the test
13int n = 1;
while (n < 100) n *= 3;
System.out.println(n);
24381 is still below 100, so one more pass runs
14int k = 0;
do { k += 2; } while (k > 50);
System.out.println(k);
2An exit-controlled loop runs once even when the test is false
15for (int i = 1; i <= 10; i++) {
  if (i % 3 == 0) continue;
  if (i > 7) break;
  System.out.print(i + " ");
}
1 2 4 5 7continue skips 3 and 6; break ends the loop at 8
16int cnt = 0;
for (int i = 1; i <= 3; i++)
  for (int j = 1; j <= i * 2; j++) cnt++;
System.out.println(cnt);
12The inner loop runs 2, 4 and 6 times
17int 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);
midStacked case labels share one block
18int g = 75;
System.out.println(g >= 90 ? "A" : g >= 60 ? "B" : "C");
BA nested ternary is read left to right like an if-else ladder
One task, three loopsrun in Java 21
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.

A nested loop gridrun in Java 21
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?

A three-week Class 9 Java revision plan for Class 10

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.

WeekUnitsDaily workDone when
1OOP concepts, objects and classes, data types, operatorsSay the definitions aloud; ten output questions a day, traced on paperYou can give every type's size and predict mixed-type outputs without a slip
2Input, errors, Math methods, conditional constructsWrite one short program a day with Scanner and an if-else ladder or switchYou know each Math return type and never lose a line to the nextLine trap
3Loops, loop conversion, nested loopsCount passes for five loops a day; write one pattern and one digit programYou can convert any for loop to while and do-while and count passes exactly
  1. Start each session with five minutes on yesterday's mistakes, not new work.
  2. Trace on paper first, then run in BlueJ. Running first teaches nothing.
  3. Keep a single page of your own traps; read it before every Class 10 test.
  4. If one unit keeps going wrong in week 3, give it a fourth week rather than moving on.

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?

Rebuilding the basics without slowing Class 10 down

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.

  1. A diagnostic drill first

    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.

  2. Gaps closed in small doses

    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.

  3. Basics inside Class 10 programs

    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.

  4. Doubt time

    Every class keeps time for questions, including ones from school homework on Class 9 topics.

  5. Mocks from December

    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

Revise Class 9 Java in the mini batch, or one to one

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

Mini batch, Tuesday 5:30 PM and Wednesday 8 PM

₹2,999

per month, two live classes a week

  • Tuesday 5:30 PM and Wednesday 8:00 PM IST, live
  • Six ICSE Class 10 students at most
  • A diagnostic Class 9 drill in the first weeks
  • The weakest basic revisited each Tuesday
  • Class 10 programs marked against the board scheme
Book a free demo in this batch

Option 2 · Choose your own timing

Personalised one to one

₹4,999

per month, one private class a week, at a time set with you

  • A slot the family chooses, in India or overseas
  • Revision aimed only at your child's Class 9 gaps
  • A faster plan for a student who joins late
  • School homework doubts taken in the same session
  • The same mentors who teach the batch
Ask for a personalised plan

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?

Class 9 Java revision for ICSE students abroad

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 liveTime differenceUsual class window, local timeFormat
India (IST)
every Indian city
ISTTue 5:30 PM, Wed 8:00 PMMini batch or 1-on-1
United Arab Emirates
Dubai, Sharjah
1 h 30 min behind India3:00 PM to 9:00 PMPersonalised 1-on-1
Indonesia and Thailand
West Java, Bangkok area
1 h 30 min ahead of India3:30 PM to 9:00 PMPersonalised 1-on-1
Singapore
Singapore
2 h 30 min ahead of India3:30 PM to 9:00 PMPersonalised 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

Rated 4.9 across 547 Google reviews

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

More pages for Class 10 board students

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

What students ask about Class 9 Java in the Class 10 paper

Is the Class 9 syllabus included in the ICSE Class 10 Computer Applications exam?

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.

Which Class 9 topics are most important for the Class 10 board exam?

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.

Is Computing and Ethics from Class 9 asked in the Class 10 paper?

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.

How do I revise Class 9 Java quickly for Class 10?

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.

What are the Java basics for ICSE?

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.

What is the difference between a syntax error, a runtime error and a logical error?

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.

Why does nextLine() skip input after nextInt()?

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.

Do I need to know data type sizes for ICSE Class 10?

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.

Do you teach Class 9 topics in the Class 10 live classes?

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

Try a free live Class 9 revision class

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.

We call within a few hours. No card, no enrolment fee.

Want it sooner? Book a priority demo

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

Keep exploring Modern Age Coders

By class and age

Learn more

Free resources

From the blog

Start here