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

ICSE Class 10 Computer Applications Model Papers with Java Programs
Two ICSE Class 10 Computer Applications model examination papers with Java programming questions on wrapper classes, arrays, searching, sorting and strings, plus a programming class test with a solved example. Free PDF download.

7 ICSE Class 10 Computer Applications MCQ Model Papers (Free PDF)
Seven ICSE Class 10 Computer Applications model papers and practice tests in MCQ format, covering Java basics, operators, loops, strings, arrays, constructors and output questions, plus a fill-in-the-blanks program test. Free PDF downloads with worked examples.

ICSE Class 10 Computer Applications Pre-board Papers 1 and 2 (MCQ)
Two full ICSE Class 10 Computer Applications pre-board papers (50 marks, MCQ format) prepared by Trushna Tejwani, with worked examples on data types, loops, type casting, operators and constructors. Free PDF download.