Sign Up | Sign In
Ask Questions & Get Answers at ibibo sawaal

What are enumerations? 

Asked in Computers & Technology at 5:54 PM on November 03, 2008

Tags: enumerations

Report abuse
chinni .
chinni .

Related Search

 

What are enumerations?

An enumeration is a type that can hold a set of constant values that are defined by the user. Once you define an enumeration you can use it like integer types. Enumerations are good for collecting, but if that is doable, then enumerations can be very useful.For E.g. enum OFF, ON;The enum defines two integer constants called enumerators and these constants are assigned values by default. The value assigned to OFF

Posted in Computers & Technology by chinni. at 5:28 AM on November 04, 2008

Does C replace C?

enumeration members and integers except 0, which can be implicitly converted to an enumerated type, and any user-defined conversion must be explicitly marked as explicit or implicit, unlike C copy constructors which are implicit by default and conversion operators which are always implicit. Enumeration members are placed in their own namespace. Accessors called properties can be used to modify an object

Posted in Computers & Technology by Radhe Radhe at 8:28 PM on May 30, 2008
Tags replace

Why in java interface is used for mutiple inheritance not by extends?

are working with is a List, you dont need to know whether it is an ArrayList or LinkedList....The hasMoreElements method determines whether the enumeration has more elements to offer. The nextElement method returns the next element in the enume-ration, if there is one. The first invocation of nextElement on a fresh Enumeration object returns the first element. Enumerations are consumed as you use them; each

Posted in Computers & Technology by muralidhar p at 8:22 PM on December 27, 2008

Difference between HashMap and HashTable?

.Iterator in the HashMap is fail-safe while the enumerator for the Hashtable isnt. If you change the map while iterating, youll know.HashMap permits null values in it, while Hashtable doesnt....well, The HashMap class is that iterator in the HashMap is fail-safe while the enumerator for the Hashtable isnt. If you change the map while iterating, youll know.And, a third difference is that HashMap permits null values in it, while

Posted in Computers & Technology by jks marven at 1:01 PM on May 28, 2008

Similar Questions

Left Ads
© 2006 - 2013 ibibo Web Pvt Ltd. All rights reserved.