Question: (1). The extends keyword applies to: 1. a method 2. a class inheriting from another class 3. a variable 4. an expression (2). A Java

(1). Theextends keyword applies to:

1. a method

2. a class inheriting from another class

3. a variable

4. an expression

(2). A Java class can inherit from two or more classes

1. True

2. False

(3). Which of the following is visible to a subclass?

Group of answer choices

1. protected and public members

2. protected members

3. public members

4. all members

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!