Static variables are shared by all instances (objects) of a class and therefore relate to the class itself. They are declared by using the static keyword as a modifier. For example:
static type varIdentifier;
where, the name of the variable is varIdentifier and its type is type.
- Click here to get free master-ciw-enterprise-developer Master CIW Enterprise Developer exam practice questions.
- Download free practice test for SUN SCBCD exam.
- Download practice question and study guide for scdjws for exam.
- Become SUN SCJP certified.
- Download free practice test for scjp-5-0 SCJP 5/6 exam.
- Click here to download scmad test study guide and practice question.
- Download practice question and study guide for scwcd for exam.
- Download practice question and study guide for CX310-055 for exam.
- Download practice question and study guide for CX310-056 for exam.
- Pass SCJP 6.0 in first attampt.
- Download free practice test for SUN SCJP Upgrade exam.