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

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









Related Tutorials/Questions & Answers:
What does it mean that a class or member is final?
what does business analyst mean
Advertisements
What does it mean by Goldilocks effect?
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?
Does memory for Class or Object?
How to access sub class member using super class object
What do you mean by Serialized?
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 docker container
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 do you mean by Read Uncommitted?
What does core Java include?
What do you mean by Read Committed?
What do you mean by Repeatable Read?
what does a technical business analyst do
What does a special set of tags <?= and ?> do in PHP?
What does "1"+2+4 evaluate to?
What is an Abstract Class and what is it's purpose?
What does hadoop fsck command do?
What does hadoop fsck command do?
what port does the dns service operate on?
What is Action Class?
What is an abstract class?
Why does Java provide both abstract class as well as interface
What is a pointer and does Java support pointers?
What is final class?
What does a data scientist Do example?
What does a data scientist do daily?
What is data analysis, and how does it work?
What is Calendar class in Java?
What is the Locale class?
what is the size of java class
javascript null mean
Java error class
ModuleNotFoundError: No module named 'nester_al_ali_finall'
What is inner class in Java? - Java Beginners
what is class methods in objective c
what is class methods in objective c
what's the purpose of constructor in abstract class?
What is the base class of all classes?

Ads