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 |
Does list allow duplicates in java?
Give reasons supporting that string is immutable.
Diff between Comparator and Comparable?
Why multiple inheritance is not supported by java?
What is the basic of java?
Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.
how to convert mm/dd/yy to dd/mm/yy using collections in java.
what is difference between equals and ==?
whats the difference between == and .equal ?
what is auto boxing
What is the significance of continue jump statement? Explain with an example.
What is the difference between preparedstatement and statement in java?