Question: what are flags in java?
Answer: The Flags class represents the set of flags on a Message. Flags are composed of predefined system flags, and user defined flags. A System flag is represented by the Flags. Flag inner class. ... A set of standard system flags are predefined.