KyaPoocha.com

Huge Collection of Interview Questions


abstract class can be declared as final 

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.



If you liked this question/asnwer, make sure you
Subscribe to KyaPoocha.com RSS feed!


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |