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

Ads









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?
Does memory for Class or Object?
How to access sub class member using super class object
What do you mean by platform independence?
What do you mean by docker container
Member Classes
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 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 the Locale class?
what is the size of java class
What is a pointer and does Java support pointers?
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 class methods in objective c
what is class methods in objective c

Ads