Month: January 2010

January 9, 2010

Enums are special value types that lets you specify a group of numeric constants. For example: enum Languages{   English,   Spanish,   Chinese,   Japanese,   French,   Filipino} We can use an anum as follows: Languages ls = Languages.Filipinobool canSpeakFilipino (ls == Languages.Filipino) //return true By default enums have an underlying ingtegral value which is of type int and […]

Continue Reading