new
volatile
static
==
A. new
pure class
abstract class
base class
derived class
Only from the base class itself
Both form the base class and from its derived classes
From the class which is friend of the base class
None of the above are correct
const members can be invoked on both const as well as nonconst objects
const members can be invoked only on const objects and not on nonconst objects
nonconst members can be invoked on const objects as well as nonconst objects
none of the above
True
False
True
False
You can define your data types
Program statements are simpler than in procedural languages.
An OO program can be taught to correct its own errors.
It's easier to conceptualize an OO program.
True
False
True
False
True
False
True
False
iostream
iofstream
ios
stdio
True
False
var1 can not be accessed
var1 is a pointer to a pointer of type int
var1 is a protected data type of integer
this type declaration shows an error
All variables must be declared before they are used
Variables in C++ need not be declared and the type can be assigned dynamically
Variables in C++ can be declared at the end of the program (before the main function terminates)
Variables can not be used explicitly in C++
derived class
inline function
constructor
none of the above
True
False
True
False
From the point of definition onwards in the program
From the point of definition onwards in the function
From the point of definition onwards in the block
Throughout the function
try block
throw exception
catch function
abort()
::
;
<<
->
True
False
Only from the base class itself
Both form the base class and from its derived classes
From the class which is friend of the base class
None of the above are correct
True
False
references are pointers
array of references can be created
you can not reference a reference variable
all of the above
True
False
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
Reprehensible
Encapsulated
Overload
Extensible
Glorified
Encapsulated
Classified
Overloaded
Virtual copying
Inheritance
Encapsulation
None of these
private and protected members
public members only
private members only
None of the above are correct