Is it possible to declare abstract class as final?What happens if we do so?



Is it possible to declare abstract class as final?What happens if we do so?..

Answer / shruti k

Abstract call cannot be declared as final, if done so class can't be instantiated

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Why cant we define System.out.println() inside a class directly?

5 Answers  


Why can we not override static method?

0 Answers  


What is a finally block? Is there a case when finally will not execute?

0 Answers  


what is jms? features of jms

2 Answers   CTS,


What is the difference between add() and addElement() method in Vector Class ?

2 Answers   TCS,






Write the code for Palindrome ?

2 Answers   Bally Technologies,


I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.

2 Answers   Oracle,


Can a class be private or protected in java?

0 Answers  


Explain a situation where finally block will not be executed?

0 Answers  


What is jdbc api?

0 Answers  


What is struts in java?

0 Answers  


What does serializing data mean?

0 Answers  


Categories