A) tilde
B) int
C) float
D) nothing. Destructors have no return type.
E) None of the above.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) numbers, characters
B) data, functions
C) addresses, pointers
D) integers, floats
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) numbers, arguments
B) parameters, arguments
C) strings, operators
D) data, functions
E) None of these
Correct Answer
verified
Multiple Choice
A) Identify objects, then define objects' attributes, behaviors, and relationships
B) Define data members and member functions, then assign a class name
C) Declare private and public variables, prototype functions, then write code
D) Write the main() function, then determine which classes are needed
E) None of these
Correct Answer
verified
Multiple Choice
A) data type
B) function
C) method
D) attribute
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) x is available to code that is written outside the class.
B) The name of the class is Point.
C) x, y, and z are called members of the class.
D) z is available to code that is written outside the class.
Correct Answer
verified
Multiple Choice
A) the first private data member
B) the first public data member
C) the class
D) the first object of the class
E) None of these
Correct Answer
verified
Multiple Choice
A) On separate disk volumes
B) In their own header files
C) In .cpp files, along with function definitions
D) Under pseudonyms
E) None of these
Correct Answer
verified
Multiple Choice
A) subscripts
B) parentheses
C) #include statements
D) output format manipulators
E) None of these
Correct Answer
verified
Multiple Choice
A) values, morals
B) data, activities
C) attributes, activities
D) attributes, methods
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) destructor, created
B) constructor, created
C) static function, deallocated
D) utility function, declared
E) None of these
Correct Answer
verified
Multiple Choice
A) dot operator.
B) cin object.
C) extraction operator.
D) stream insertion operator.
E) None of these
Correct Answer
verified
Multiple Choice
A) empty constructor
B) default constructor
C) stand-alone function
D) arbitrator function
E) None of these
Correct Answer
verified
Multiple Choice
A) Car->accelerate() ;
B) myCar::accelerate() ;
C) myCar.accelerate() ;
D) myCar:accelerate() ;
Correct Answer
verified
True/False
Correct Answer
verified
Showing 1 - 20 of 46
Related Exams