what is the Scope of Final Keyword in Java?
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 |
what is activation monitor and what is its job?
difference between apllet and interface class
what is the proxy pattern?
Explain Life cycle of Servlet Filter.
2 Answers InfoBrain, ITC Infotech,
What is resource bundle?
Explain the difference between object state and behavior?
Will the general public have access to the infobus apis?
what is the Scope of Final Keyword in Java?
Is the ternary operator written x : y ? Z or x ? Y : z ?
how to use debug in my elipse to solve problems that exist in my project
What is prototype?
what is the Remote Stub?