Can an abstract class be final?

Answer Posted / raghav

An abstract class is of no use if it cannot be sub classed
because instances of an abstract class cannot be created.
Moreover a class declaration with abstract and final will
not compile at all and when ever a class is marked final,the
properties cannot be extended

Is This Answer Correct ?    21 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are 3 data types?

549


enlist some features of jdk.

562


What is the point of polymorphism java?

547


Explain how hashmap works?

594


What is string and its types?

613






what is the purpose of "virtual"?

572


Will the jvm load the package twice at runtime?

576


How can we create an immutable class in java?

585


What is string buffer?

506


What is ++ a in java?

572


What is bufferedreader in java?

582


How to Sort Strings which are given in List and display in ascending order without using java api.

3780


What is a default constraint?

618


What do you mean by exception handling in Java?

662


When we serialize an object does the serialization mechanism saves its references too?

512