Skip navigation

Declare and use enum types

Declare and use enum types: Java Essential Training: Objects and APIs
Declare and use enum types: Java Essential Training: Objects and APIs

Java supports a special type called an enum—short for an enumeration. An enumeration lets you define a set of mutually exclusive values that can be referenced throughout an application. Just like variables that are static and final, an enum value can only be defined once. By default, it’s stored as an integer value, but like the constants shown in prior videos, those values don’t matter. What matters is that each enumerated value is unique.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 46m
Duration
88,988
Views
Show More Show Less
Skills covered in this course
Developer Programming Languages Java

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.