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 |
Explain about wait() method?
Is nan false?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
Does constructor return any value?
How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.
What is 3-tier model?
Can bool be null?
what are the purposes of native, transiant key words?
What are the steps involved to write rmi based programs?
How do you declare an array that will hold more than 64KB of data?
Can we declare an interface as final?
What is class array in java?