Results 1 to 3 of 3
  1. #1
    Midnightas is offline Member
    Join Date
    May 2015
    Posts
    1
    Rep Power
    0

    Default What is the enum keyword for variables?

    I found this on the internet:

    What does that do?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: What is the enum keyword for variables?

    Don't always believe the internet.

    kind regards,

    Jos

    ps. I removed your duplicate post.
    Build a wall around Donald Trump; I'll pay for it.

  3. #3
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    14

    Default Re: What is the enum keyword for variables?

    Why not try to compile it and see what happens?

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. public static enum vs enum class
    By Dipke in forum New To Java
    Replies: 3
    Last Post: 08-30-2011, 10:45 AM
  2. finally keyword and auto variables
    By Pojahn_M in forum New To Java
    Replies: 7
    Last Post: 08-23-2011, 07:28 AM
  3. Replies: 2
    Last Post: 06-03-2011, 09:15 PM
  4. Setting values from One Enum type to another enum type.
    By reach2sudhakar in forum New To Java
    Replies: 3
    Last Post: 09-23-2010, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •