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 (0forint,0.0fordouble,""forString) automatically when an object is created withnewinsidepublic 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(...)orvoid volume(...)) but differ in the number, data type, or sequence of parameters (return type alone does NOT distinguish overloaded methods!). - Wrapper Class &
Charactermethods: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), andCharacter.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 arrayarr.length),s.charAt(i)(char),s.substring(n)(from indexnto end), ands.substring(m, n)(from indexmup ton - 1!). - Searching & Modification:
s.indexOf(ch)(int, returns-1if not found),s.lastIndexOf(ch)(int),s.replace(oldChar, newChar)(String),s.trim()(String),s.toLowerCase(),s.toUpperCase(), ands1.concat(s2)(String). - Comparison (
booleanvsint):s1.equals(s2),s1.equalsIgnoreCase(s2),s.startsWith(str), ands.endsWith(str)all returnboolean; whereass1.compareTo(s2)ands1.compareToIgnoreCase(s2)return anint(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.