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 is volatile data type?

757


Explain what do you mean by functional overloading in java?

814


What is rule of accessibility in java?

795


Is there any sort function in java?

864


Does a class inherit the constructors of its superclass in java programming?

771


What is meant by binding in rmi?

810


Can we have multiple public classes in a java source file?

811


Give few difference between constructor and method?

763


Differentiate between vector and array list.

863


Which list does not allow duplicates in java?

732


What are the different http methods?

764


What is the use of volatile in java?

831


What happens if I remove static from main method?

790


What's a method in programming?

783


What is primitive array?

706