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?
what is mean by setValidating() - Java Beginners
What do you mean by Deadlock?
How to access sub class member using super class object
What do you mean by Serialized?
Does memory for Class or Object?
What does COMMIT do?
What do you mean by platform independence?
What does the delete operator do?
What does the delete operator do?
Member Classes
What do you mean by Read Uncommitted?
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?
What do you mean by Read Committed?
What do you mean by Repeatable Read?
What does a special set of tags <?= and ?> do in PHP?
What does "1"+2+4 evaluate to?
what does a technical business analyst do
what port does the dns service operate on?
What is an Abstract Class and what is it's purpose?
What is a pointer and does Java support pointers?
Why does Java provide both abstract class as well as interface
What is Action Class?
What is an abstract class?

Ads