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

What is method with example?

585


Why runnable interface is used in java?

578


Does java runtime require a license?

579


Why for each loop is used?

508


What is a ?

758






What is parsing and its types?

591


Do I need to import java.lang package any time? Why?

744


What are the different ways of creating thread?

574


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

651


What is cr keyboard?

659


Define a java class.

809


What is r * in math?

554


Explain the difference between throw and throws in java?

552


What are different types of encoding?

589


Distinguish between a predicate and a function?

576