Posts by Rafael • 111 points
1 post
- 
		1 votes3 answers1411 viewsA: Compare an integer typed with each Enum valueAn alternative would be to check all Enum options using an foreach: public enum EnumMenuInicial { CADASTRAR(1), PESQUISAR(2), EXCLUIR(3); private int opcao; private EnumMenuInicial(int…