transient, final, static
transient for variable:-- variable's state can't be serialized.
final :-- can be declared for class, METHODS
as well as variables, who's definition can't be changed.
static :-- variable & methods can be declared as static means
it has only one copy for all the objects & it's exist only in class
level
|
No comments:
Post a Comment