Important Java Mcq 1

Which of the following is true about inheritance in Java?

a. Private methods are final.

b. Protected members are accessible within a package and inherited classes outside the package.

c. Protected methods are final.

d. We cannot override private methods.

Answer:

1,2 and 4

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?