Link Details

Link 985421 thumbnail
User 131196 avatar

By jj83777
via tutorials.jenkov.com
Submitted: Jun 19 2013 / 08:27

This tutorial explains how to use Java enums to create constants in Java. It covers how to create enum types, how to reference the constants, how to compare them, how to iterate them and how to add fields and methods to them.
  • 3
  • 0
  • 129
  • 56

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (3)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java