
OOP Revision (Topic 6,7,8)

Quiz
•
Computers
•
12th Grade
•
Medium
Tengku Hidayah
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does polymorphism mean?
Having many forms
A method of data encapsulation
A way to create objects
A type of inheritance
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an abstract class?
A class that contains only static methods
A class that can be instantiated
A class that has no methods
A class that cannot be instantiated
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an abstract class?
To create instances directly
To provide a template for subclasses
To store data only
To implement all methods
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is method overriding?
Defining a method in a subclass with the same name as in the superclass
Changing the return type of a method
Using multiple methods in a class
Creating a new method in the superclass
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a concrete class?
A class that is used for inheritance only
A class that only contains abstract methods
A class that cannot have methods
A class that can be instantiated
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'instanceof' operator do?
Checks the type of an object
Creates a new instance of a class
Overrides a method
Declares a new class
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of polymorphism?
Easier to modify and extend programs
Faster execution of code
More memory usage
Less code to write
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
OCR H446 -term 1

Quiz
•
12th Grade - University
25 questions
Java Programming Quizz-GX

Quiz
•
9th - 12th Grade
33 questions
General Programming Terms

Quiz
•
10th - 12th Grade
26 questions
Java Classes/Objects Quizziz 1

Quiz
•
12th Grade
25 questions
Simple Machines

Quiz
•
KG - University
27 questions
Priority Queues and Heapsort

Quiz
•
9th - 12th Grade
35 questions
Python - 2.தரவு அருவமாக்கம்

Quiz
•
12th Grade
25 questions
Final Exam P2Q2

Quiz
•
12th 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