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
If your ui seems to freeze periodically, what might be a likely reason?
Do I have to use jsps with my application?
What is ioc concept & explain it?
What are the design considerations while making a choice between using interface and abstract class?
Describe, in general, how java's garbage collector works?
What is RMI and what are the services in RMI?
Can constructors be synchronized in java?
What is the relationship between the canvas class and the graphics class?
Should synchronization primitives be used on bean methods?
What is a class loader?
What is abstract schema?
What are the types of scaling?
Explain about thread synchronization inside a monitor?
Name three subclasses of the component class?
Is the infobus client side only?