Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What does it mean that a class or member is final?

Have Programming Question? Ask it here!
 
 
 


Java Coder
What does it mean that a class or member is final?
1 Answer(s)      a year and 3 months ago
Posted in : Java Beginners


hi,

What does it mean that a class or member is final?

Thanks,


Advertisement
View Answers

April 18, 2013 at 1:16 PM


Hi friend,

final keyword in Java is used in several contexts. If there is a class declared using final keyword it means it can't be inherited by any base class i.e. a final class can't be subclassed. If there is a member declared to final it means the value of member once assigned will not be changed likewise the constant members.

For example and more detail about final keyword please go through the following links may, these links will be helpful for you.

http://www.roseindia.net/tutorial/java/jdbc/finalkeywordinjava.html

http://www.roseindia.net/help/java/f/final-keyword.shtml



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com