Static
Published in Apress eBooks • Jan 1, 2013
NobleIDNI9P31W00R57S07
Authors:
Mikael Olsson
Abstract
The static keyword is used to create class members that exist in only one copy, which belongs to the class itself. These members are shared among all instances of the class. This is different from instance (non-static) members, which are created as new copies for each new object.
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!