Abstract Class and Final Class

Can we declare abstract and final class at same time
EG: abstract final class parent{}

Showing Answers 1 - 3 of 3 Answers

Prabhat

  • Aug 7th, 2016
 

No, we cant because Abstract is meant to be inherited by subclass and give implement the method if we declared a abstract class with final it will show compile time error.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions