answersLogoWhite

0

AllQ&AStudy Guides
Best answer

Enum in java is a keyword which is introduced in JDK 1.5 and its a type like Interface and Class.Enum constants are implicitly static and final and you can not change there value once created. Enum in Java provides type-safety and can be used inside switch statment like int variables. Since enum is a keyword you can not use as variable name and since its only introduced in JDK 1.5 all your previous code which has enum as variable name will not work and needs to be refactored.

This answer is:
Related answers

Enum in java is a keyword which is introduced in JDK 1.5 and its a type like Interface and Class.Enum constants are implicitly static and final and you can not change there value once created. Enum in Java provides type-safety and can be used inside switch statment like int variables. Since enum is a keyword you can not use as variable name and since its only introduced in JDK 1.5 all your previous code which has enum as variable name will not work and needs to be refactored.

View page

The enum keyword means enumeration.

View page

You can't pass an enum as an argument to a function. An enum in C isn't an object, it's a type. All you can do is pass a variable that is of the particular enum's type.

View page

Kadhal Enum Nadhiyinile was created in 1989.

View page

An enum type is a type whose fields consist of a fixed set of constants

View page
Featured study guide
📓
See all Study Guides
✍️
Create a Study Guide
Search results