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
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
How do you use substring in java?
What is a finally block?
Why are constructors used?
How to find the index of the largest number in an arraylist java?
What are some characteristics of interference class?
Why java uses the concept of the string literal?
Will set allow duplicates in java?
When does a class need a virtual destructor?
Is linked list a linear or non-linear data structure?
Is java map thread safe?
Write a program to calculate factorial in java?
What is the difference between this() and super() in java?
What is unicode full form?
What classes of exceptions may be caught by a catch clause in java programming?