What is the difference between Static and final?



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

Post New Answer

More Core Java Interview Questions

How would you dynamically allocate memory to an array?

0 Answers   Atos Origin,


What is the difference between a Window and a Frame?

6 Answers   Infosys, ProKarma,


What do you mean by mnemonics?

0 Answers  


What is diffrance between FINALIZE() & FINALLY ?

2 Answers   Infosys,


What is 16 bits called?

0 Answers  






Explain about serializable interface in java?

0 Answers  


What is the relationship difference the canvas class and the graphics class?

0 Answers  


What do you mean by an object in java?

0 Answers  


List methods available in Java Queue interface

1 Answers  


Is a boolean variable?

0 Answers  


What are null interfaces in JAVA ? and give me some examples?

5 Answers  


What is a predicate method?

0 Answers  


Categories