AP Computer Science Ahardmcq1 pt

Which method access level cannot be assigned in an override?

A.a level more restrictive than the parent's
B.a level less restrictive than the parent's
C.the same level as the parent's
D.public

Explanation

Core Concept

Overrides cannot reduce access.

Correct Answer

Aa level more restrictive than the parent's

More Unit 9: Inheritance practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 9: Inheritance Questions →