SOFTWARE DESIGN
OBJECT ORIENTED DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following statements is TRUE?
|
A class is an encapsulation of an object
|
|
A class represents the hierarchy of an object
|
|
A class is an instance of an object
|
|
A class is an abstract definition of an object
|
Explanation:
Detailed explanation-1: -question1: answer: b) An object is an instance of a class explanation: in java programming we have classes we call it as the blueprint from which the object is created by this we can call an object is result of a created class it is the actual defin…
Detailed explanation-2: -Explanation: Abstract class cannot be directly initiated with new operator, Since abstract class does not contain any definition of implementation it is not possible to create an abstract object.
There is 1 question to complete.