
Polymorphism
Authored by Zuraihah Ngadengon
Computers
University
Used 234+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Class SalariedEmployee extends Employee. Which of these is true?
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
13 questions
مراجعة للتطبيق الثاني تقن105
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
15 questions
Data Mining
Quiz
•
University
10 questions
Quis CSS W3Schools
Quiz
•
University
10 questions
Quizz_Algoritma, Pemrograman, dan RPL_Accifence
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
20 questions
Transaction Processing Systems Quiz
Quiz
•
University
20 questions
CPA JYSS 2018 Prelims Paper 1
Quiz
•
7th Grade - Professio...
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade