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
B. Permit data to be hidden from other classes
True
False
True
False
iostream
iofstream
ios
stdio
True
False
->
dot operator
::
>>
Private
protected
public
None of the above are correct
try block
throw exception
catch function
abort()
Goes in the object to the right of the operator
Goes in the object to the left of the operator
Goes in the object of which the operator is a member
Must be returned
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
The loop in which it occurs
The block in which it occurs
The function in which it occurs
The program in which it occurs
True
False
Two
One
No
None of the above
True
False
Glorified
Encapsulated
Classified
Overloaded
True
False
Data security
Data hiding
Data manipulation
Data definition
True
False
the source code should be made available at compile time
the program runs slower
dynamic variables can not be used in the program
static variables can not be used
new
volatile
static
==
references are pointers
array of references can be created
you can not reference a reference variable
all 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
public
friend
private
not possible
Only from the innermost loop
Only from the innermost switch
From all loops and switch
Only from the innermost loops or switch
True
False
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
True
False
True
False
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++
Automatic assignment of data to object during instantiation
Automatic call of a function
To declare a local variable
It is not a keyword in C++