Question: Which of these options is valid in Java? a. Abstract class cannot be instantiated. b. Interface cannot be instantiated. c. Abstract class or interface cannot

Which of these options is valid in Java?

a.

Abstract class cannot be instantiated.

b.

Interface cannot be instantiated.

c.

Abstract class or interface cannot be instantiated except when it is being instantiated as anonymous subclass.

d.

Anonymous class can only be instantiated using the concrete class.

e.

All of these above.

f.

None of these above.

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 Databases Questions!