
Method Overloading and Overriding Quiz
Authored by DR MURTHY
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about method overloading?
Method overloading is based on different parameter lists.
Method overloading requires inheritance.
Method overloading requires overriding superclass methods.
Method overloading requires a final modifier.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In method overloading, which of the following must differ for methods with the same name?
Return type
Method name
Parameter list
Access modifier
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true about method overriding?
Method overriding requires inheritance.
Overriding methods must have the same name and parameter list.
The access level of the overriding method can be more restrictive than the overridden method.
The return type of the overriding method must be compatible with the overridden method.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Method overriding is an example of which type of polymorphism?
Compile-time polymorphism
Runtime polymorphism
Static binding
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In method overloading, the return type of overloaded methods:
Must be the same.
Must be different.
Can be different but is not necessary.
Must be void.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following modifiers cannot be used in an overridden method in Java?
final
private
static
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In method overriding, the access level of the overriding method:
Must be the same as that of the overridden method.
Can be more restrictive than the overridden method.
Can be more accessible than the overridden method.
Does not matter.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Python Recap
Quiz
•
7th Grade - University
15 questions
Vocabulary of Computer
Quiz
•
12th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
15 questions
Basic 2D Sketching - Fusion 360
Quiz
•
12th Grade
20 questions
UNIT 3- DATA COMMUNICATION
Quiz
•
12th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
16 questions
Python Basics
Quiz
•
KG - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade