Ask your own question, for FREE!
Design 7 Online
OpenStudy (applelover508):

Assume the code exists inside a method of MyClass and that this code compiles with no errors. int result = mustang.getMPG(); where mustang is an object of the car class. Which of the following is true about the getMPG method? a. It is a private method inside MyClass. b. It is a public method inside MyClass. c. It is a private method in the Car class d. It is a public method in the Car Class e. It is a private mutator method in the Car class

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!