What is the use of final keyword
Printable View
What is the use of final keyword
What do you think? What did google tell you? What happened when you wrote a program to test your assumptions?
final keyword is used to make an object immutable. For more info, google....
No. It's the variable that can't be changed. There is no restriction on the object a variable refers to.Quote:
final keyword is used to make an object immutable
Hi vilkas,
You can find some good examples about final keyword here.
Hope this helps.