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.
- Download free practice test for CIW Master CIW Enterprise Developer exam.
- Pass SCBCD in first attampt.
- Become SUN SCDJWS certified.
- Download practice question and study guide for scjp for exam.
- Pass SCJP 5/6 in first attampt.
- Pass SUN scmad - SCMAD
- Become SUN SCWCD certified.
- Pass Java 5.0 in first attampt.
- Click here to get free CX310-056 SCJP 5.0 Java Upgrade exam practice questions.
- Pass SCJP 6.0 in first attampt.
- Pass SCJP Upgrade in first attampt.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.