CS6203C Object Oriented Programming Prelim Lab Q2
CS6203C Object Oriented Programming Prelim Lab Q2
00
Grade 90.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00
Flag question
Question text
[1] is the process by which one class gains the characteristics and capabilities of another
class.
Inheritance
Answer:
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A method's ability to perform various actions depending on the object it is interacting with
is known as [1].
Polymorphism
Answer:
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The term "[1]" refers to a class whose features and capabilities are utilized by another class.
Parent Class
Answer:
Question 4
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
The behavior of objects of a particular kind is defined by [1]. It displays a list of all the
objects' properties.
object-oriented programming
Answer:
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
For any attributes and internal methods that shouldn't be invoked from other classes, the [1]
modifier should always be used as the default.
Private
Answer:
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
One OOP feature called [1] lets us carry out a single action in a variety of ways.
Polymorphism
Answer:
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
[1] is another name for encapsulation.
Data hiding
Answer:
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
In Java or any Object-Oriented Language, an [1] is the most fundamental entity. Due to the
possibility that each of them could have unique behavior, identity, and data, it reflects real-
life entities.
Object
Answer:
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Binding object state and behavior together is the definition of [1].
Encapsulation
Answer:
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The class that expands the features of another class is known as a [1].
Child Class
Answer: