public static final variable in an imported java class

后端 未结 5 1279
故里飘歌
故里飘歌 2021-01-01 16:20

I happen to come across a Java code at my work place. Here\'s the scenario: There are 2 classes - ClassA and ClassB.

ClassA ha

5条回答
  •  猫巷女王i
    2021-01-01 16:49

    Why are you trying to compile the classes individually?

    Use a build system like maven or ant or just let your IDE do it.

    The only safe thing to do is to recompile every java which depends of a java class which has changed until every class which could be effected has been re-compiled.

提交回复
热议问题