Solved

Assume That MyCar Is an Instance of the Car Class

Question 42

Multiple Choice

Assume that myCar is an instance of the Car class and that the Car class has a member function named accelerate. Which of the following is a valid call to the accelerate member function?


A) Car -> accelerate() ;
B) myCar::accelerate() ;
C) myCar.accelerate() ;
D) myCar:accelerate() ;
E) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions