有关Java软件包的疑问

有关Java软件包的疑问

问题描述:

大家好,

在Java包中创建类有任何限制吗?我的意思是,我想在单个程序包上创建多个类,有什么问题吗?我知道这不是一个好方法,实际上只是一个疑问.请告诉我...:-)

Hi All,

Is there any limit to create classes in java package? I mean, I want to create number of classes on single package, any problem? I know this is not a good approach, simply a doubt actually. please tell me... :-)

Java包只是重命名的zip文件,您可以在包中放入的类数没有限制.

通常,软件包是围绕功能分组的,但是您可以根据需要重新打包文件.
Java packages are just zip files renamed, there is no limit in the number of classes you can put in a package.

Usually packages are grouped around a functionality, but you can repackage the files if you need to.