Skip to main content
BharatBoard

Last verified: 28 November 2026 across official school board and government recruitment portals.

BharatBoard is a private, independent guide. It does not represent any government entity and does not provide any government service. Information is summarised from official board and government websites.

CISCE (ICSE/ISC) · Guide

ICSE Class 10 Java Part 1: OOP, Constructors, Method Overloading & String Handling

Complete coding syntax and Section A output rules for ICSE Class 10 Computer Applications (Code 86) — 4 OOP Pillars, Constructor vs Method, Function Overloading, Wrapper Classes (Character/Integer), and String library functions.

Reviewed July 2026

Constructor rules, Function Overloading and Character/Wrapper methods

In ICSE Class 10 Computer Applications (Code 86), Section B always includes one 15-mark class-design question (using a constructor and member methods), one 15-mark void method overloading question, and one 15-mark String manipulation question.

  • User-Defined Class & Constructor (15 marks): A constructor has the exact same name as the class, has NO return type (not even void), and initialises instance variables (0 for int, 0.0 for double, "" for String) automatically when an object is created with new inside public static void main(String args[]).
  • Method Overloading (Polymorphism — 15 marks): Multiple methods inside the same class share the exact same method name (e.g., void series(...) or void volume(...)) but differ in the number, data type, or sequence of parameters (return type alone does NOT distinguish overloaded methods!).
  • Wrapper Class & Character methods: Integer.parseInt(s), Double.parseDouble(s), Integer.toString(n), Character.isLetter(ch), Character.isDigit(ch), Character.isLetterOrDigit(ch), Character.isWhitespace(ch), Character.isUpperCase(ch), Character.isLowerCase(ch), Character.toUpperCase(ch), and Character.toLowerCase(ch) (remember the ASCII values: 'A'–'Z' = 65–90, 'a'–'z' = 97–122, '0'–'9' = 48–57).

Return types and zero-based indexing of all 14 ICSE Java String methods

  • Length & Extraction: s.length() (int — has parentheses, unlike array arr.length), s.charAt(i) (char), s.substring(n) (from index n to end), and s.substring(m, n) (from index m up to n - 1!).
  • Searching & Modification: s.indexOf(ch) (int, returns -1 if not found), s.lastIndexOf(ch) (int), s.replace(oldChar, newChar) (String), s.trim() (String), s.toLowerCase(), s.toUpperCase(), and s1.concat(s2) (String).
  • Comparison (boolean vs int): s1.equals(s2), s1.equalsIgnoreCase(s2), s.startsWith(str), and s.endsWith(str) all return boolean; whereas s1.compareTo(s2) and s1.compareToIgnoreCase(s2) return an int (ASCII difference of the first mismatched characters, or difference in lengths if one is a prefix of the other).

Official sources

Timing is typical months only — always verify the exact dates on the official board website, which change every session.