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 better - 'bit-shift a value' or 'multiply by 2'?

934


What is application system?

700


What is final keyword?

874


What is string syntax?

816


How can we make sure main() is the last thread to finish in java program?

946


What is the difference between synchronized and synchronized block?

805


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

941


Explain about doubly linked list

833


How much is a java license?

718


Is empty .java file name a valid source file name?

816


Can memory leak happen java?

790


What are checked exceptions?

808


What is meant by collection in java?

789


What is continuity of a function?

781


Does java map allow duplicates?

668