answersLogoWhite

0

Enums are constant values. You use them when you want to limit the range of acceptable constants.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What are the differences between enums and set of defines in c?

At the present time, there is little difference. The C Standard states that enumerations are compatible with integral types.


What is the difference between an enumeration and macro?

In enumeration, values can be generated for us but in macros we have to give value for every macro template and type checking can be done in enums.


What Is The Java Enum And What Is It Used For?

The best way I can describe an enum is a class of Java language. Enums look like they are used in code string when writing a website.


What type of items are valid for use in the value list of a case clause?

Any single value or list of values can be used in the value list of a case clause, such as integers, strings, characters, enums, or constants. It is important to note that duplicate values are not allowed in the value list.


What countries uses dinar as currency?

Algeria uses the Algerian Dinar Bahrain uses the Bahrain DinarIraq uses the Iraqi DinarJordan uses the Jordanian DinarKuwait uses the Kuwaiti Dinar


What motor oil goes in a Jeep Laredo 2001?

4.0L uses 10w304.7L uses 5w304.0L uses 10w304.7L uses 5w30


How do you value their uses?

The uses of what?


What are the Uses for maps?

One of the uses are if you are lost. One of the uses are if you are lost.


Does Japan use euro?

No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.No country in Asia uses the Euro.


What is the oil weight for 2008 dodge avenger?

2.4L, 2.7L, uses 5w203.5L uses 10w302.4L, 2.7L, uses 5w203.5L uses 10w30


What is the engine oil viscocity for a 1999 jeep grand Cherokee Laredo?

4.0L uses 10w304.7L uses 5w304.0L uses 10w304.7L uses 5w30


What oil is recommended for a 2010 V6 Chrysler sebring?

The 2.7L uses 5w20. The 3.5L uses 10w30.The 2.7L uses 5w20. The 3.5L uses 10w30.