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

Ads
 

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

hi,

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

Thanks,

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

Ads









Related Tutorials/Questions & Answers:
What does it mean that a class or member is final?
what does business analyst mean
Advertisements
What is a local, member and a class variable?
what does mean of method("1") in below struts.xml file
message bean and message plant - What does it mean?
Does memory for Class or Object?
How to access sub class member using super class object
What do you mean by platform independence?
StringIndexOutOfBoundException problem, What is mean in this code | first.charAt(i)) |
StringIndexOutOfBoundException problem, What is mean in this code | first.charAt(i)) |
StringIndexOutOfBoundException problem, What is mean in this code | first.charAt(i)) |
What does core Java include?
Member Classes
What is an Abstract Class and what is it's purpose?
what does a technical business analyst do
What does hadoop fsck command do?
What does hadoop fsck command do?
Why does Java provide both abstract class as well as interface
what port does the dns service operate on?
What is final class?
What is Calendar class in Java?
What is a pointer and does Java support pointers?
What is the Locale class?
What is data analysis, and how does it work?
what is the size of java class
what is class methods in objective c
what is class methods in objective c
What is the base class of all classes?
What is nested class in Java with Example?
What is nested class in Java with Example?
What are the different types of property and class mappings?

Ads