• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

包机制

为了更好地组织类,java提供了包机制来区分类名的命名空间。

该语句的语法格式为:

包pkg 1[. pkg 2[. pkg 3]];

一般公司域名倒置作为包名:比如com.baidu.www包名:com.baidu.www

为了能够使用包的成员,我们需要在Java程序中显式导入包,这可以通过使用“import”语句来完成。

导入包1[.包2.].(class name | *);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now