Enumerated Values
Nothing in commonwith Enumeration calss in Java
enum declaration in C++
enum color {red, orange, yellow};
enum fruit {apple, pear, orange};
// error: orange redefined
Previous slide
Next slide
Back to first slide
View graphic version