Which of the following is the correct syntax to indicate that class A is a subclass of

Question:

Which of the following is the correct syntax to indicate that class A is a subclass of B?

a. public class B extends A {

b. public class A : super B {

c. public A(super B) {

d. public class A extends B {

e. public A implements B {

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: