What is final class?

Ads

 
 

Share on Google+Share on Google+

Java Coder
What is final class?
1 Answer(s)      4 years and 6 months ago
Posted in : Java Beginners

Hi,

What is final class?

thanks

Ads
View Answers

April 9, 2013 at 1:03 PM


Hi,

A final class is not be saubclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable (is a constant). For more visit http://www.roseindia.net/javatutorials/final_methods.shtml


Ads









Ads

 
Advertisement null

Ads