Abstract class can be declared as final

Skill/Topic: Inheritance
A) True
B) False
Explanation: An abstract class may not be declared as final.

Showing Answers 1 - 4 of 4 Answers

chaitanya

  • Jan 17th, 2006
 

an abstract class can't be declared final, b'coz it was unimplemented.so we can't declare it final.

  Was this answer useful?  Yes

Buddhadev Dasgupta

  • Jan 19th, 2006
 

Abstract class can't be declare as final.

The reasion behind it that, If we declare a class as abstract then we can't intanciate that class ( only we can extend that class) . And if create aa class as final then we can't extend that class.

So if we have a final abstract class then that class can never.

Because of abstract we can't not instanciate the class

and because of final we can't extend that class also

So that class has no use.

  Was this answer useful?  Yes

Buddhadev Dasgupta

  • Jan 19th, 2006
 

Abstract class can't be declare as final.

The reasion behind it that, If we declare a class as abstract then we can't intanciate that class ( only we can extend that class) . And if create aa class as final then we can't extend that class.

So if we have a final abstract class then that class can never.

Because of abstract we can't not instanciate the class

and because of final we can't extend that class also

So that class has no use.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions