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 |
How can you traverse a linked list in java?
List java api that supports threads?
Explain the public class modifier?
When you Click a Button, What event will be fired?
What is a protected void?
Name few java 8 annotations ?
Print Vertical traversal of a Binary Tree.
what are the states associated in the thread? : Java thread
why interaction with server using javascript is difficult
Which non-unicode letter characters may be used as the first character of an identifier?
Are arrays passed by reference in java?
What is the difference between stream and buffer?