1 |
Like template functions, a class template may not handle all the types successfully. |
True
True
Not Sure
|
2 |
Which of the following is the best approach to implement generic algorithms with minimum number of coding
lines?
|
Templates
Overloading
Overriding
Friend function/class
|
3 |
Destructor can be overloaded |
True
False
Not Sure
|
4 |
Graphical representation of the classes and objects is called object model it shows ------- |
Class Name only
Class Name and attributes
Relationships of the objects and classes
all of the given
|
5 |
----------------- follow try block to catch the object thrown |
catch block
throw block
main block
non of the given
|
6 |
Which of these are examples of error handling techniques? |
Abnormal Termination
Graceful Termination
Return the illegal
all of the given
|
7 |
------------- members are somewhere between public and private members. They are used in inheritance |
protected
public
private
global
|
8 |
The type that is used to declare a reference or pointer is called its --------- |
default type
static type
abstract type
reference type
|
9 |
Public methods of base class can --------- be accessed in its derived class |
directly
inderectly
simultaniously
none of the given
|
10 |
Default constructor is such constructor which either has no ---------or if it has some parameters these have -------- values |
Parameter, temporary
Null, Parameter
Parameter, default
non of the given
|