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
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What is == in java?
What is the difference between JDBC 1.0 and JDBC 2.0?
Explain oops concepts in detail?
How can we pass argument to a function by reference instead of pass by value?
What is output buffer?
Explain about arraylist?
Is constructor inherited?
What are exception handling keywords in java?
What is difference between path and classpath in java?
Is null an object java?
What are java annotations?
Why are there no global variables in java?
What are the uses of java?
What are runtime exceptions?