True
False
Two
One
No
None of the above
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public
Making C++ operators work with objects
Making C++ operators more then they can handle
Giving new meaning to existing c++ operators
Making new C++ operators
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
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
True
False
real
char
int
null
pure class
abstract class
base class
derived class
-a
-o
-c
none of these
unexpected()
perform()
catch()
try()
True
False
True
False
Returns a character when any key is pressed
Returns a character when ENTER is pressed
Display a character on the screen when a key is pressed
Does not display a character on the screen
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.
sixth
seventh
eighth
impossible to tell
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
try block
throw exception
catch function
abort()
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
True
False
Reprehensible
Encapsulated
Overload
Extensible
The return type
The number and type of arguments
The class of a function
None of the above
template class
a generic class
exception
identifier
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
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
1
5
0
-3
True
False