demonstrates the flags attribute of an enumeration