Abstract Class and Final Method

Which of the following is correct in case of abstract class..
(1) An abstract class can not have final method
(2) An abstract class can not have non-abstract method
(3) A final class can not have abstract method
(4) A final class can not have final method

Questions by tallman07

Showing Answers 1 - 1 of 1 Answers

(3) A finalized class cannot have an abstract method.


This makes sense because once a class is finalized nothing in that class can be overwritten.

  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