answersLogoWhite

0

static:

we can use the keyword static either to method or to a variable.

when we declare to a method,(eg: public static void main(String args[]),we can use this method without any object.

when we use to a variable,there will be only one instance of that variable irrespective of how many objects that get created of that class.

Final:

Usage of final to method or to a variable makes them as constant. It's value cannot be changed...

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the difference between inuyasha and inuyasha the final act?

there us no really big difference between them inuyasha final act is basicley the closing of the whole anime


Which of the keywords above are often used with polymorphic methods?

final


What is syntax of constant?

static final


What is the difference between abstract class and final class?

20


Difference between expenditure on final goods and expenditure on intermediate goods?

The difference between intermediate goods and final goods is in their nature. Intermediate goods are finished goods which can be used to make other good like wool. The final goods are sold to consumers like a woolen coat.


What are the difference between interim and final order Explain on your own words?

Sure! The difference between an interim is that an interim is kinda like a progress report in the middle of every quarter. A final is at the end of each semester. Huge difference.


What is difference between the initial and final depth of water?

To find the difference between the initial and final depth of water is to subtract the final depth by the initial depth. The initial depth of what is what the water depth starts at and the final depth is the depth of the water once it is finished filling up.


Difference between standard and user defined identifier?

A standard identifier is a reserved word. Keywords such as for, if, goto, return, continue, break, do, while, final, extern, static and so on are all reserved. Fundamental data types and modifiers such as void, int, char, wchar_t, double, float, long, short, signed, unsigned, const, mutable, constexpr and so on are also reserved. A user-defined identifier is any name (function, class, namespace or alias) that is not a reserved word.


What is the difference between the initial position and its final position?

The initial position is where an object starts from, while the final position is where it ends up after moving. The difference between the two positions gives the distance traveled by the object.


What is the difference between the initial price of 55000 and the final cost of 29999?

25001


What is public static final variable in java?

-Public to all - Static to access with Class Name - Final to change( constant and not alowed to change) Just use it along with class name. (As implied above, a 'public static final' variable in Java is what other languages would call a Constant. )


What is the difference between unconfirmed diagnosis and the final diagnosis?

The difference is that the first is unconfirmed, while the second one is assume to be confirmed.