Chapter 5 - User-Defined Methods - Solutions For Class 10 ICSE Logix Kips Computer Applications With BlueJ Java - KnowledgeBoat
Chapter 5 - User-Defined Methods - Solutions For Class 10 ICSE Logix Kips Computer Applications With BlueJ Java - KnowledgeBoat
double type
4. boolean type
Question 4
1. actual parameters
2. formal parameters ✓
3. informal parameters
4. void parameters
Question 5
1. formal parameters
2. actual parameters ✓
3. informal parameters
4. void parameters
Question 6
1. pure method
2. impure method ✓
3. perfect method
4. imperfect method
Question 7
The scope of a local variable is limited to
the ...........
1. Windows
2. Multiple programs
3. Class
4. Method or block it is declared in ✓
Question 8
1. call by reference ✓
2. call by value
3. call by argument
4. call by method
Question 9
1. call by reference
2. call by value ✓
3. call by argument
4. call by method
Question 10
Question 1
Question 2
Question 3
Question 4
Question 5
Question 7
Question 8
Question 9
Question 10
Question 11
Question 12
The scope of a local variable is limited to
the method or the block it is declared in.
True
Question 13
Question 14
Assignment Questions
Question 1
Answer
Question 2
Question 3
Answer
Question 4
What does the return statement do in a
method?
Answer
Question 5
Answer
Question 6
Answer
Question 7
Question 8
Answer
Question 9
Answer
Question 10
Answer
Question 11
Question 12
Answer
Question 13
Answer
Polymorphism
Question 14
Answer
boolean prime = c == 2;
return prime;
}
Question 15
Answer
Call by
Call by value
reference
Reference of
Values of actual
actual
parameters are
parameters is
copied to formal
passed to formal
parameters.
parameters.
parameters. parameters.
Answer
Impure
Pure methods
methods
Answer
Simple
Overloaded method
Method
and type of
method being
parameters to
invoked by
determine which
looking at its
method will be
name.
invoked.
Video Explanations