AP Computer Science Ahardmcq1 pt
Static methods are resolved by
A.the declared type of the reference
B.the object's runtime class
C.the method name only
D.random selection
Statics use compile-time binding.
Athe declared type of the reference
Practice more AP Computer Science A questions with full explanations
Practice Unit 9: Inheritance Questions →