Can a correct Time class definition include both of the following constructors? If not, ex- plain why not.
```
Time( int h = 0, int m = 0, int s = 0 );
Time();
```
No. There is ambiguity between the two constructors. When a call is made to the default constructor, the compiler cannot determine which one to use because both constructors can be called with no arguments.
Computer Science & Information Technology
You might also like to view...
A form can NOT be used to delete a record from a Base database
Indicate whether the statement is true or false
Computer Science & Information Technology
A(n) ________ resume is a combination of chronological and functional resumes
Fill in the blank(s) with correct word
Computer Science & Information Technology