OOP 4 Polymorphism

Quiz
•
Computers
•
11th Grade
•
Easy

Amanda Beacham
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many main types of polymorphism are there in object-oriented programming?
One
Two
Three
Four
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is static polymorphism?
Implementing multiple methods with the same name but different parameters
Using the same method name for different classes
Overloading operators
Inheriting methods from a superclass
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of static polymorphism?
Methods must have the same parameters.
Methods must have different names.
Methods can have different numbers of parameters.
Methods must be in different classes.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the class described in the document?
Animal
Bird
Dog
Cat
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What sound does the makeSound() method produce in the Bird class?
Bark
Meow
Chirp
Roar
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the makeSound() method in the Bird class?
To print "Quack"
To print "Chirp"
To print "Tweet"
To print "Honk"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class inherits from the Bird class?
Eagle
Sparrow
Duck
Penguin
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Java Inheritance

Quiz
•
9th - 12th Grade
10 questions
How well do you know the Dream SMP?

Quiz
•
6th Grade - University
15 questions
Cryptology

Quiz
•
9th Grade - University
10 questions
IDs and Classes

Quiz
•
9th - 12th Grade
10 questions
Latihan Class Library

Quiz
•
9th - 12th Grade
10 questions
Pewarisan Antar Interface

Quiz
•
11th Grade
15 questions
Pemrograman Berorientasi Objek PAS Ganjil XI RPL

Quiz
•
11th Grade
9 questions
Object Oriented Programming

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade