Quantcast
Channel: Examples Java Code Geeks » Enum
Viewing all articles
Browse latest Browse all 5

Java Enumeration example

$
0
0
In this tutorial we will discuss about enumerations in Java. The Java programming language contains the enum keyword, which represents a special data type that enables for a variable to belong to a set of predefined constants. The variable must be equal to one of the values that have been predefined for it. The values ...

Viewing all articles
Browse latest Browse all 5

Trending Articles