Skip to content
Sharp

Core Java · interview question

What keyword is used to inherit class properties in Java?

Multiple choiceEasychapter-5-curatedpremiumcore-javacode-reading-with-related-types
Choose one answer
Answer and explanation

Correct answer

D. Extends

Why

The 'extends' keyword is used in Java to inherit properties and methods from another class.

Test yourself on Core Java

A free test with instant, explained results. No account needed.

Start free test
All Core Java questions →