| Author |
what is Final keyword concept?
|
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
|
|
Hi Ranchers, My Questions is more about the concept of final keyword. why we cannot extends final class in non-final class? or what the usage of final keywords with Class, Methods and variables? and what are conditions when we need to apply this key word with class, methods and variables? Thanks
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
Shailesh Chandra
Ranch Hand
Joined: Aug 13, 2004
Posts: 1076
|
|
http://www.google.com/search?hl=en&lr=lang_en&q=java+%2B+%22final+keyword%22 Shailesh
|
Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
|
 |
Guru dhaasan
Ranch Hand
Joined: Sep 13, 2006
Posts: 126
|
|
final variables is nothing but a constant whose values cannot be changed. final method is the one which cannot be overridden (In terms of inheritance) final class is the one which cannot be sublassed further
|
Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
|
|
|
Thanks for your response guys..
|
 |
 |
|
|
subject: what is Final keyword concept?
|
|
|