Although we cannot pass an integral value to a enum parameter, we can pass an enum to a parameter of integral type.

 
  • 虽然无法将整型值传递给枚举类型的形参,但可以将枚举值传递给整型形参。
今日热词
目录 附录 查词历史