What is the term for a variable with a few special values

前端 未结 0 501
旧巷少年郎
旧巷少年郎 2021-01-02 06:51

String.indexOf() returns the index or -1 if it cannot find a match. I know enum refers to variables that can only take on certain values. Is there a term for this type of va

相关标签:
回答
  • 消灭零回复
提交回复
热议问题