Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
如果在test.java的开头加一行“package test;”,结果会怎样?编译时找不到StdOut了。 看一下StdOut.java的源码,其开头没用package。package的作用是什么? Oracle文档的解释: To make types easier to find and use, to avoid naming conflicts, and to control access, programmers bundle groups of related types into packages.