Which of the following may not be an integral part of an
object? Select correct option:
state
behaviour
protected data
members
all
Which of the following types is an example of intangible
object? Select correct option:
chair
pencil
timetable
book
In case base and derived classes are behaviorally
compatiable, base class can always be replaced by derived class.
True
False
When a base class can be replaced by the derived class
then it is called
Sub-typing
Super-tying
Generalization
Specialization
The sentence “Object Oriented Programming book in
bookshelf” is an example of:
binary association
Simple assocaition
multiple association
aggregation
There is no need of “is a” or “is a kind of” relationship
in Generalizatio
True
False
In object oriented programming, advantages of inheritance
include:
it provides a useful framework
it avoids rewriting certain code
its facilitates
class libraries
All
of the Above
An instance of
user defined type is called Select correct option:
object
class
both
none
Comments
Post a Comment
Please give us your feedback & help us to improve this site.