Originally posted by johny doe:
i noticed that the static ones dont change while the others
changes
is that what its all about??
don't change means? in what context? Actually they are NOT bound to any specific instance of a class, rather to the whole class in common.
You can go for 'static' when you want to have some common data for all your instances of a class. Otherwise, each instance will have its
own copy of the variables if declared non-static.