InterviewSolution
Saved Bookmarks
| 1. |
What Will Happen If We Do Not Override All The Abstract Methods In Sub-class? |
|
Answer» It will throw compile-time error. We have to OVERRIDE all the abstract METHOD in sub-CLASS. If you do not want to override all the abstract method in sub-class then you have to make your sub-class as abstract class. It will throw compile-time error. We have to override all the abstract method in sub-class. If you do not want to override all the abstract method in sub-class then you have to make your sub-class as abstract class. |
|