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 token in java?
What is a vector in java?
what is the difference b/w PUT and POST method to send data to the server
Which containers may have a MenuBar?
What is an iterator interface in java programming?
How to Create A Wapper Class in core Java and Why are Use in java?
Which data type is a class in java?
Is java se open source?
What is the size of arraylist in java?
How to override a equals() method and what is the use?
What are class members by default?
How can we make a class singleton?