Can an abstract class be final?

Answer Posted / ravikiran(aptech mumbai)

no because the purpose of using both are opposite to each
other,An abtract class must have to get instantiated to
become concrete,where as final class should nn't get subclassed

Is This Answer Correct ?    31 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the final keyword?

556


Can a set contain duplicates?

517


What are implicit objects in java?

553


How to overcome the exception object reference not set to an instance of object?

626


Why can we not override static method?

595






Does string isempty check for null?

569


How do you reverse a string in java without using string buffer?

595


Explain about instanceof operator in java?

611


How many java versions are there?

564


How to perform bubble sort in java?

592


What are kinds of processors?

571


What is void in java?

594


Is math an abstract class in java?

539


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

520


What is the flag in java?

612