Enum
Published in Apress eBooks • Jan 1, 2013
Authors:
Mikael Olsson
Abstract
An enumeration is a type that consists of a fixed list of named constants. To create one, the enum keyword is used followed by a name and a code block, containing a comma separated list of constant elements. The access level for an enumeration is the same as for a class. Package-private by default, ...
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!