A dialog box displays, requesting the name and visibility (public, private, protected, or default) of the new method.
这时会出现一个对话框,要求输入这个新方法的名称及可见性(公开的、私有的、保护的或是默认的)。
By default, you get several protected directories which you can store your files in, meaning they are private and protected from public viewing.
默认情况下,你有几个受保护的目录用于存放文件,受保护意味着这些文件是私人的、不公开的。
Initially when writing code, I don't worry too much about categorizing method visibility as default (package), private, public, or protected.
最初在编写代码时,我没有过多地担心将方法可视性归为default(包)、private、public还是protected。
应用推荐