1 if you wanted you could create a third constructor with only one argument a true b 5346928
1. If you wanted, you could create a third Constructor with only one argument.
a) True
b) False
2) Since there are two Human’s (constructors) the compiler ignores the first one.
a) True
b) False
3. class Human { ……….}; would have a constructor called human;
a) True
b) False
2) What is the correct way to test if a file opened correctly/incorrectly?
a) if ( myFile.fail() ) . . .
b) if ( myFile.isOpen() ) . . .
c) if ( myFile.open() ) . . .
d) if ( myFile. succeed() ) . . .
e) ask your TA
4) What is the name that we give a class in use?
a) Instance of the class
b) method
c) variable
d) object
e) a & d
f) none of the above