package mypack;
class MyPackageClass {
public static void main(String[] args) {
System.out.println("This is my package!");
}
}
The package
keyword creates a package.
Read more about packages in our Java Packages Tutorial.
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!