Answer: Enums or Enumerators are used to declare a set of related constants by-default they start with 0 index position.They are only available with primitive data types like int and short etc.
public enum CRUD_operations
{
add,
update,
delete
}
Asked In: Many Interviews |
Alert Moderator