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 |
difference between applicationserver and webserver
explain session tracking. why we used it
What is the argument type of a programs main() method?
Is it possible to stop the execution of a method before completion in a sessionbean?
In howmany ways a thread can be created?
What is ripple effect?
When you will synchronize your code?
What are the difference between RMI and CORBA?
What is diffennce between AWT & SWING?
Explain the methods of Naming class, rebind( ) and lookup()?
what is the use of Object Factories?
Explain the purposes of methods wait(), notify(), notifyAll ()?