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 multithreading ???? How to stop multithrading in java????
Can an object?s finalize() method be invoked while it is reachable?
can u override the start() method of Thread class
What does regex mean?
What are the latest versions in JAVA related areas?
when there is a need of jvm then how we can say that java is a platform independent language?
What are thread safe functions?
What is bom encoding?
When should I use a singleton?
What is replaceall in java?
Does java set allow duplicates?
Write POJO class as a key to hashmap???