11-14-2011, 09:51 PM
Please download the document to check more Solved mcq's.
In a class declaration, data or functions designated private are accessible
[FONT="]
[/FONT]
Which of the following is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes?
Generalization
Sub-typing
Specialization
Extension
Which one is not the main feature of object oriented programming?
Classes and Objects
Exception handling
Inheritance
Polymorphism
Using encapsulation we can achieve
Information hiding
Least interdependencies among modules
Implementation independence
All of given options
Static variable can be initialized more than once.
False
True
Aggregation is implemented using pointer.
Ture
False
constant member function access non constant member function
True
False
Static member can not be called with the class name.
False
True
The dot operator (or class member access operator) connects the following two entities (reading from left to right):
A class member and a class object
The sentence “Object Oriented Programming book in bookshelf” is an example of:
In a class declaration, data or functions designated private are accessible
[FONT="]
[/FONT]
Which of the following is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes?
Generalization
Sub-typing
Specialization
Extension
Which one is not the main feature of object oriented programming?
Classes and Objects
Exception handling
Inheritance
Polymorphism
Using encapsulation we can achieve
Information hiding
Least interdependencies among modules
Implementation independence
All of given options
Static variable can be initialized more than once.
False
True
Aggregation is implemented using pointer.
Ture
False
constant member function access non constant member function
True
False
Static member can not be called with the class name.
False
True
The dot operator (or class member access operator) connects the following two entities (reading from left to right):
A class member and a class object
The sentence “Object Oriented Programming book in bookshelf” is an example of: