在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Java/ IDEA 中不能用do作為包名嗎?

IDEA 中不能用do作為包名嗎?

數(shù)據(jù)層對象用 XXDO命名,在 IDEA 中包名創(chuàng)建do的里面怎么不能創(chuàng)建java文件?

回答
編輯回答
巴扎嘿

因為do是保留字,不能做包名,你試試,下面這些都不行:

abstract  continue    for         new         switch
assert    default     goto        package     synchronized
boolean   do          if          private     this
break     double      implements  protected   throw
byte      else        import      public      throws
case      enum        instanceof  return      transient
catch     extends     int         short       try
char      final       interface   static      void
class     finally     long        strictfp    volatile
const     float       native      super       while
2018年9月20日 07:15