switch 语句编译报错Constant expression required 
问题:case语句后面必须是常量,使用final修饰 
public static final int NotifyType_trip=10004;

 

Constant expression required

 

相关文章:

  • 2021-07-17
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2021-06-14
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-20
  • 2021-07-27
  • 2021-08-01
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
相关资源
相似解决方案