Can an abstract class be final?

Answer Posted / sudhakar goud

Ans: we can't write both final and abstract
because the abstract say's taht it has to be overridden
where as final say's that it can't be overridden.
That is the reason we can't write both final and abstract

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you insert a line break?

501


What do you mean by chromounits in java8?

530


Is logger a singleton?

529


What is e java?

561


What is string builder?

475






What is getkey () in java?

581


What is the difference between multitasking and multithreading in Java

728


What is the purpose of a default constructor?

583


Why webdriver is an interface?

587


what is the purpose of the runtime class?

555


Can a class be protected in java?

510


Can we overload the constructors?

563


What things should be kept in mind while creating your own exceptions in java?

636


Can one thread block the other thread?

610


Explain access modifiers in java.

590