Infosys interview question

what is bean in java class