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 a J2EE component? List out all the component?
how to execute main()
How many wrapper classes are there in java?
What are the 4 types of research methods?
where exactly collections are usefull in realtime
Why does java doesnot support multiple inheritance?
Can we define static methods inside interface?
What is the difference between Synchronizing mehtod & Synchronizing block?
Difference between ‘>>’ and ‘>>>’ operators in java?
Is there a jre for java 11?
What is function and method in java?
Does isempty check for null?