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 {
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 {
Step by Step Solution
3.43 Rating (169 Votes )
There are 3 Steps involved in it
Correct syntax to ... View full answer
Get step-by-step solutions from verified subject matter experts
