Answer Posted / 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 |
Post New Answer View All Answers
What is scope of a variable?
How do you change an int to a string?
How do you create immutable object in java?
Why are parameters used in functions?
What are the two basic ways in which classes that can be run as threads may be defined?
What are the uses of java?
Why is the type for real numbers called double?
How do you create an array in java?
What is the protected method modifier?
what is anonymous class in java?
What is the default value of an object reference declared as an instance variable?
Explain constructors and types of constructors in java.
What is mean by encoding?
What is the difference between abstract class and interface1? What is an interface?
What is the use of parseint in java?