Java - Inheritance
Which of the following is the correct syntax to inherit class
Animal in Java?Animal in Java?extends to inherit from a class.extends, which is correct. Options A, C, and D use wrong keywords.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions