Two or more methods in a class may have the same name as long as __________.
a. they have different return types
b. they have different parameter lists
c. they have different return types but the same parameter list
d. You cannot have two methods with the same name.
b. they have different parameter lists
You might also like to view...
Which of the following is a digital video file extension?
A. .fla B. .rm C. .dcr D. .mp3
Adjusting the ____ is changing or remapping brightness values.
a. curve b. arc c. valence d. parameter
Given the following stack declaration, which of the following function definitions would correctly implement the destructor?
struct StackFrame { char data; StackFrame *link; }; typedef StackFrame* StackFramePtr; class Stack { public: Stack( ); Stack(const Stack& a_stack); ~Stack( ); void push(char the_symbol); char pop( ); bool empty( ) const; private: StackFramePtr top; }; a. top=NULL; b. char next; while (! empty( )) next = pop( );//pop calls delete. c. char next; while(!empty( )) next = push(); d. none of the above
All the data in an array do not have to be the same data type.
Answer the following statement true (T) or false (F)