
DFT4027 QUIZ 3 - Topic 4 (CLO1)
Authored by Siti Saad
Education, Instructional Technology
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Identify the CORRECT meaning of abstract method.
Method without body
Regular method with body
Method which can only be implemented
Method which can only be accessed by abstract class
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
An abstract class and a normal class BOTH can have abstract methods in it. True or false?
TRUE
FALSE
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
We can create object from an abstract class with new keyword.
TRUE
FALSE
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Identify which type of inheritance abstract class represent to?
Single
Multiple
Multilevel
Multitrading
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Identify the correct keyword to inherits an abstract class to a normal class.
extends
implements
super
this
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
A class Animal has a method sound() and the sub-classes of Dog, Lion and Cat.
Since the animal sound differs from one animal to another, there is no point to implement this method in parent class.
So, identify how method is declared to implement the same sound() method in subclass to describe different sound.
Create normal class with abstract method sound()
Create abstract class with normal method sound()
Create abstract class with abstract method sound()
Create normal class with normal method sound()
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
A subclass from an abstract class MUST IMPLEMENT all superclass method.
YES
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?