Can we override an abstract method with abstract method in the derived class ?
Javasearch.buggybread.com
Share

Search Interview Questions


 3361 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Can we override an abstract method with abstract method in the derived class ?Core Java2017-03-01 09:46:35

Ans. Yes, but in that case the derived class itself should be abstract. We cannot have an object of a class without definition for the method which has been declared abstract in the parent.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     overriding  overriding abstract methods  abstract methods


Related Questions

  What are points to consider in terms of access modifier when we are overriding any method?
  Difference between Overloading and Overriding ?
  How compiler handles the exceptions in overriding ?
  Overridden methods must have the same ...
  What is a Final Method ?
  Can we reduce the visibility of the inherited or overridden method ?
  what is covariant return type?
  Can we reduce the visibility of the overridden method ?
  Does java allow overriding static methods ?
  What restrictions are placed on method overriding?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this