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 |
How would you dynamically allocate memory to an array?
What is the difference between a Window and a Frame?
What do you mean by mnemonics?
What is diffrance between FINALIZE() & FINALLY ?
What is 16 bits called?
Explain about serializable interface in java?
What is the relationship difference the canvas class and the graphics class?
What do you mean by an object in java?
List methods available in Java Queue interface
Is a boolean variable?
What are null interfaces in JAVA ? and give me some examples?
What is a predicate method?