Which of the following statements creates a named constant called driverAge whose value is 16?
A. const driverAge = 16;
B. const short driverAge = 16;
C. driverAge =16;
D. driverAge const =16;
E. namedconst driverAge =16;
Answer: Option B
Related Questions on Object Oriented Programming Using C Plus Plus
A. all thrown objects
B. no thrown objects
C. any thrown object that has not been caught by an earlier catch block
D. all thrown objects that have been caught by an earlier catch block
Format flags may be combined using
A. the bitwise OR operator (|)
B. the logical OR operator (||)
C. the bitwise AND operator (&)
D. the logical AND operator (&&)
E. None of the above
Join The Discussion