Infosys interview question

What is enum in java