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
Is the ternary operator written x : y ? Z or x ? Y : z ?
What are the call back methods in entity bean?
Why does the option tag render selected=selected instead of just selected?
What is the difference between static and non-static with examples?
Name the eight primitive java types.
Describe, in general, how java's garbage collector works?
What are JTA/JTS and how they used by client?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What is ioc concept?
What are the types of scaling?
What classes of exceptions may be caught by a catch clause?
Describe responsibilities of Activator?
whats is mean by connectionpooling
Can I have an action without a form?
What is a modular application? What does module-relative mean?