ICSE Class 10 MCQs on User-Defined Methods and Constructors (with Answers)
Two printable ICSE Class 10 Computer Applications MCQ worksheets on user-defined methods (functions) and constructors in Java, with answers, worked examples and the key rules you must remember for the board exam.

User-defined methods and constructors are two of the most important chapters in ICSE Class 10 Computer Applications. They appear in Section A as MCQs and short answers, and almost every Section B program uses them. This post gives you two MCQ worksheets prepared by Trushna Tejwani for her Class 10 students, plus a quick revision of the rules they test.
What's in the worksheets
- Worksheet 1 – User-defined methods MCQ: return values, return types, formal and actual parameters, method prototypes, pure and impure methods, and call by value. Answers are given for the questions.
- Worksheet 2 – Constructors MCQ: what a constructor is, the
thiskeyword, parameterised constructors, constructor and method overloading, tokens, and the Math class.
Download both PDFs below, attempt them without notes, and then check your answers.
Key rules to remember
User-defined methods
- A method can return only one value, using the
returnstatement. - If a method returns a value, the value must match the return type in its prototype. A method that returns nothing has the return type
void. - Formal parameters appear in the method definition. Actual parameters are the values passed when the method is called.
- A pure method does not change the state of an object. An impure method changes the values of data members.
- Primitive values are passed by value, so changes inside the method do not affect the caller's variable.
Constructors
- A constructor has the same name as the class and no return type, not even
void. - It is called automatically when an object is created with
new. - If you do not write any constructor, Java supplies a default constructor.
- Constructors can be overloaded, just like methods.
thisrefers to the current object.
Worked example
Q. Which is the correct constructor for class Cartoon that takes an int and a double?
- (a)
void Cartoon(int a, double b) - (b)
int Cartoon(int a, double b) - (c)
Cartoon(int a, double b) - (d)
public Cartoon(int a, int b)
Answer: (c). A constructor never has a return type, so (a) and (b) are wrong, and (d) has the wrong parameter types.
class Cartoon {
int episodes;
double rating;
Cartoon(int a, double b) { // parameterised constructor
episodes = a;
rating = b;
}
}How to use these worksheets
- Revise the rules above for 10 minutes.
- Attempt each worksheet in one sitting, aiming for about a minute per question.
- Mark your answers and rewrite every wrong one with the correct reason.
Once you're comfortable, try a full paper from our ICSE Class 10 sample papers to practise these topics in the board-exam format.
Download the papers
User-Defined Methods MCQ (with answers)
PDF · 54 KB
Constructors MCQ Worksheet
PDF · 50 KB
Read the questions as text
Related Posts
Continue learning with these related articles

Encapsulation, Access Specifiers and Scope of Variables in Java for ICSE Class 10
ICSE Class 10 Computer Applications notes on encapsulation: private, default, protected and public access, data hiding with getter and setter methods, instance vs static (class) variables, local variables and scope, with a solved BankAccount program.

ICSE Class 9 Computer Applications Sample Paper 2026-27 with Answers
A complete ICSE Class 9 Computer Applications sample paper for the 2026-27 annual exam covering OOP concepts, data types, operators, the Math class, conditional statements and loops, followed by full answers with explanations and solved Java programs.

Wrapper Classes and Character Methods in Java for ICSE Class 10
ICSE Class 10 Computer Applications notes on wrapper classes: primitive types and their wrappers, autoboxing and unboxing, parseInt and valueOf conversions, and Character class methods like isDigit, isLetter and toUpperCase, with output questions and a solved program.