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 |
Define prototype?
Do we need to override service() method
Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.
Which class is the immediate superclass of the menucomponent class?
what is an isolation level?
can i call multipule form beans in Action class?
For an example, if we have some variable in run method, and we created one or more threads. Does all threads will share the same variable or a copy of variable is created for each thread??
What is the diffrence between a local-tx-datasource and a xa-datasource?
Are enterprise beans allowed to use thread.sleep()?
i want documentation of text file splitter & merger of advanced java
What is a sessionfactory? Is it a thread-safe object?
How would you create a button with rounded edges?