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
Brief description about local interfaces?
Should synchronization primitives be used on bean methods?
What is TL and its use?
what is meant by JRMP?
difference between ejb,struts,hibernate,spring and jsp
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Is a class a subclass of itself?
Why a client should be multithreading? Explain.
Describe activation process?
Name three subclasses of the component class?
When a thread blocks on i/o, what state does it enter?
Define aop(assepct oriented programing)?
what are memory considerations of jsp compares to other web components?
What is the relationship between an event-listener interface and an event-adapter class?
Is jvm a overhead?