posted 22 years ago
static: you can have static variables as well as methods. both static variables and methods belong to the class and not to any particular instance of that class.(i am actually retyping this, sheriff, please look into this. this portion was lost during my first edit.)
eg:-
you access them like,
transient: this keyword prevents Serialization when used with a variable. that is it prevents that particular field which has been declared as transient not to be saved to the disk.
------------------
Raghav.
[This message has been edited by Raghav Sam (edited June 20, 2001).]
[This message has been edited by Raghav Sam (edited June 20, 2001).]
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.<br />- Dr. Seuss