Quantcast
Channel: How To Do In Java » Java 5 Features
Viewing all articles
Browse latest Browse all 4

Guide for understanding enum in java

$
0
0

An enum type, also called enumeration type, is a type whose fields consist of a fixed set of constants. The very basic purpose of enums is to enforce compile time type safety. In this post, I will list down all necessary features of enums you should know. Sections in this post: What is enum in […]

The post Guide for understanding enum in java appeared first on How To Do In Java.


Viewing all articles
Browse latest Browse all 4

Trending Articles