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
B. Both form the base class and from its derived classes
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.
it need not have any object
it should be used only as a derived class
it need not have any members
none of the above
Two
One
No
None of the above
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
True
False
True
False
True
False
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
True
False
True
False
instantiation
function prototype
constructor
structure
no definition in its base class
a definition in its base class
a definition in at least one derived class
definition in base class and at least one derived class
True
False
Only from the base class itself
Both from the base class and form its derived classes
From the class which is a friend of the base class
None of the above is correct
Virtual copying
Inheritance
Encapsulation
None of these
public
friend
private
not possible
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
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
->
dot operator
::
>>
iostream
iofstream
ios
stdio
True
False
Increase
Reduce
None of the above are correct
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
True
False
True
False
Data security
Data hiding
Data manipulation
Data definition
1
5
0
-3
True
False