Can classes of same package spread across multiple Jar files?

后端 未结 5 874
北荒
北荒 2021-01-04 01:43

I am using some classes from a JAR file and they belong to a package (com.abc.xyz).

The class am writing also belongs to that package but I won\'t be able to bundle

5条回答
  •  遥遥无期
    2021-01-04 02:25

    I don't see why it wouldn't be possible. All that matters is that the classes are in the classpath.

提交回复
热议问题