Question: Which are true statements about interfaces and abstract classes? (Choose three.) A. Abstract classes offer support for single inheritance, while interfaces offer support for multiple
Which are true statements about interfaces and abstract classes? (Choose three.)
A. Abstract classes offer support for single inheritance, while interfaces offer support for multiple inheritance.
B. All methods in abstract classes are public, while interfaces can use various access modifiers for their methods and variables, including private in some cases.
C. Both abstract classes and interfaces can have abstract methods.
D. Both abstract classes and interfaces can have public constructors.
E. Interfaces can only extend other interfaces, while abstract classes can extend both abstract and concrete classes.
F. Unlike abstract classes, interfaces can be marked final.
Step by Step Solution
3.42 Rating (152 Votes )
There are 3 Steps involved in it
The three true statements about interfaces and abstract classes among the options provided are A Abs... View full answer
Get step-by-step solutions from verified subject matter experts
