Given the following code, which statements are true? Select the two correct answers. (a) Class A extends

Question:

Given the following code, which statements are true?

image text in transcribed

Select the two correct answers. 

(a) Class A extends class B. 

(b) Class B is the superclass of class A. 

(c) Class A inherits from class B. 

(d) Class B is a subclass of class A. 

(e) Objects of class A have a field named value2.

(f) Objects of class B have a field named value1.

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

Step by Step Answer:

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