What is the difference between Static and final?
Answer / vetri
in variable,specifying final the value cant be changed
through
entire program.specifying static means the variable value
will persist between different method calls,automatic
initialization of static variable is zero.static and final
methods cant be overriden with non static or non final method.
but static and final methods can be overriden with static
and final methods in the subclass.
| Is This Answer Correct ? | 4 Yes | 4 No |
What is enhanced loop in java?
Is assembly language a low level language?
Why java is a platform independent? Explain
what is meant by Garbage collection?
What is a lock or purpose of locks in java?
How do I get 64 bit java?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is meant by method overriding?
What is the difference between length and size in java?
In what circumstances, compiler will supply a default constructor for a class?
What is the difference between ArrayList and Vector? which one is better in Java
0 Answers SkillGun Technologies,
How listener identify that the event came from a particular object?