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

Is Constructor possible in abstract class in java ?

582


what is ststic with example

1589


how do I create a runnable with inheritance? : Java thread

505


What's the difference between comparison done by equals method and == operator?

541


Does java support function overloading, pointers, structures, unions or linked lists?

601






How do you achieve singleton?

527


What is exception handling in java?

570


What are the methods available in a class?

579


Which is the best sorting technique in java?

515


Can constructor be inherited?

574


can rmi and corba based applications interact ?

661


How we can run a jar file through command prompt in java?

516


Explain the different forms of polymorphism?

559


How big is a gigabyte?

611


What is the buffer limit?

550