25.abstract - Class - in - Java
25.abstract - Class - in - Java
• Ans > yes we may have the constructor in the abstract class.
• Since the flying nature differs from one flyer to another, there is no
point to implement this method in parent class. This is because every
child class must override this method to give its own implementation
details,
Flyer
+Takeoff()
+Land()
+Fly()
15
Text References
1. The Complete Reference Java By Naughton & Schildt
”, Tata McGraw Hill
2. Core Java by Cay S. Horstmann and Gary Cornell
3. Programming with Java | 6th Edition by E
Balagurusamy
4. Thinking in Java Bruce Eckel President, MindView, Inc.
5. https://www.java67.com/2015/08/top-10-method-overloading-
overriding-interview-questions-answers-java.html
1. 16