Answer Posted / sumitpalsingh
Final Keyword has limited Scope because it is like a constant keyword.
If we declare a class As "final" then we can not extends this class.so we can not get benifit of inheritance class.
If we declare a method as "final" then we can not override this method.Becoz metgod overriding is not possible with final keyword.
If we declare a variable as "final" then we can not change the value of final varible .because these are the constatnt variable having fixed value if we use "final" keyword with a variable.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the steps in details to load the server object dynamically?
What is a sessionfactory? Is it a thread-safe object?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
If your ui seems to freeze periodically, what might be a likely reason?
Why do I get a duplicate name error when loading a jar file?
What are the steps to write p-to-p model application?
What is difference between object state and behavior?
Explain how will the struts know which action class to call when you submit a form?
How a component can be placed on Windows?
Why won’t the jvm terminate when I close all the application windows?
Name three component subclasses that support painting?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What is the difference between java class and bean?
Why are my checkboxes not being set from on to off?
What modifiers may be used with an inner class that is a member of an outer class?