
Introduction to inheritance and polymorphism
Authored by Whizara Teacher
Computers
6th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____ promotes reusability by allowing us to inherit attributes from a base / parent class to another class, which is known as the derived / child class.
Polymorphism
Inheritance
Encapsulation
Abstraction
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Polymorphism is achieved in Java using
function/method overloading
this statement
nested loops
break statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a class has multiple methods having the same name but different in parameters, it is known as ____ overloading.
class
object
method
data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____ means “of many forms”. It allows us to perform a single action with different outcomes and can be viewed as a way to reuse methods / operators to achieve different things.
Encapsulation
Looping
Polymorphism
Object
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following class exhibits which feature?
class Adder{
static int add(int a, int b){
return a+b;
}
static double add(double a, double b){
return a+b;
}
}
Polymorphism
Abstraction
Operator overloading
None of the mentioned
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
10 questions
Python Programlama Soruları ünite 4
Quiz
•
9th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
BÀI KIỂM TRA 15P HK2 TIN HỌC 11
Quiz
•
11th Grade
10 questions
Python with Minecraft: Quiz 2
Quiz
•
8th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
Cultura Digital 1 Pseudocódigo
Quiz
•
12th Grade
10 questions
Java Fundamentals
Quiz
•
12th Grade
10 questions
Informatica
Quiz
•
6th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade