
Polymorphism

Quiz
•
Computers
•
University
•
Medium
Zuraihah Ngadengon
Used 233+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the name Polymorphism translate to?
Many forms
Many changes
two forms
liquid forms
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What are the two types of Polymorphism?
Syntax and runtime
Constructor and method
derive and base
encapsulation and Inheritance
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Polymorphism is features of object oriented programming?
True
False
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of this program?
drawing...
drawing rectangle...
drawing circle...
drawing triangle...
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Is the code above an example of overloading or overriding a method?
Overloading
Overriding
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In the code above, If I write the following statement will it execute successfully.
Rectangle rec= new Triangle();
Yes, there is nothing wrong with this method of polymorphism.
No, Rectangle and Triangle are subclasses of Shape and cannot cast to each other.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Inheritance

Quiz
•
University
10 questions
Q4 - Comp Vision

Quiz
•
University
10 questions
Topik 2: Ciri-ciri Object Oriented Programming (OOP)

Quiz
•
University
10 questions
The OOP Quiz

Quiz
•
University
15 questions
Unit 2 Inheritance in Java

Quiz
•
12th Grade - University
10 questions
OBJECT ORIENTED PROGRAMMING WITH JAVA

Quiz
•
University
20 questions
Responsi PL 2021/2022

Quiz
•
University
20 questions
Quiz 2 PBO

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade