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 the use of arraylist in java?
waht happens when a return type ,even void is specified for a constructor?
there are some duplicate values in ArrayList, how U'll get that array with out duplicate?
Can we overload the constructors?
How to overcome the exception object reference not set to an instance of object?
What is the applet security manager, and what does it provide?
What is use of arraylist in java?
What is multi-catch block in java?
What 5 doubled?
What steps are taken when the OS shifts from one-thread execution to another?
What is this keyword used for?
What is garbage collection in Java, and how can it be used ?
32 Answers Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,