Which of the following provides a reuse mechanism?
Abstraction
Inheritance
Dynamic binding
Encapsulation
An abstract class is which of the following?
A class that has direct instances, but whose descendants may have direct instances.
A class that has no direct instances, but whose descendants may have direct instances.
A class that has direct instances, but whose descendants may not have direct instances.
A class that has no direct instances, but whose descendants may not have direct instances
Which of the following statement is true concerning objects and/or classes?
An object is an instance of a class.
A class is an instance of an object.
An object includes encapsulates only data.
A class includes encapsulates only data.
Which of the following is example of encapsulation?
Steering wheel of the car
Car
Color of the car
Music system of the car
Which of the following is an abstract data type?
Int
Double
String
Class
You have seen the enquiry machine in a railway station.The user just types in a few details like train number,station and date.The details of train,seats availability,fare etc.will be displayed.The user is not aware of its working.Which OOP feature can you correlate with this situation?
Data Encapsulation
Data Abstraction
Polymorphism
C++ is an example of
Object based language
Non-procedural language
Object oriented language
Non-object oriented language
The term operator overloading in C++ refers to:
Message passing
Data hiding
The concept of hierarchical classification is related to:
Function overloading
Which of the following is an invalid visibility label while inheriting a class?
public
private
protected
friend