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.
A. You can define your data types
early binding
run time binding
late binding
linking
unexpected()
perform()
catch()
try()
instantiation
function prototype
constructor
structure
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
Are a group of functions with the same name
All have the same number and types of arguments
Make life simpler for programmer
May fail unexpectedly due to stress
iostream
iofstream
ios
stdio
::
;
<<
->
string constants in your program
program statements in string form
variables whose type is of string
none of the above
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
To allocate storage
To deallocate storage
To delete variable name
None of the above are correct
scope resolution operator
global operator
Both (a) & (b)
None of these
Only from the innermost loop
Only from the innermost switch
From all loops and switch
Only from the innermost loops or switch
Increase
Reduce
None of the above are correct
template class
a generic class
exception
identifier
Are removed from memory when not in use
Permit data to be hidden from other classes
Bring together all aspects of an entity in one place
Can closely model objects in the real world
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
Two
One
No
None of the above
True
False
True
False
A constant
A variable
A structure
A header file
Virtual copying
Inheritance
Encapsulation
None of these
True
False
True
False
declaring them private
by default they are private
by declaring them in the beginning of the program immediately after main()
they are always public
True
False
True
False
True
False
True
False
True
False