Question: Why would a class be declared as abstract? So that it can be used as an interface So that it cannot be inherited from Because
Why would a class be declared as abstract?
| So that it can be used as an interface | |
| So that it cannot be inherited from | |
| Because it doesnt make logical sense to instantiate it | |
| Because it has no abstract methods | |
| Because all classes must be abstract |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
