<i id='d25oq'><tr id='d25oq'><dt id='d25oq'><q id='d25oq'><span id='d25oq'><b id='d25oq'><form id='d25oq'><ins id='d25oq'></ins><ul id='d25oq'></ul><sub id='d25oq'></sub></form><legend id='d25oq'></legend><bdo id='d25oq'><pre id='d25oq'><center id='d25oq'></center></pre></bdo></b><th id='d25oq'></th></span></q></dt></tr></i><div id='d25oq'><tfoot id='d25oq'></tfoot><dl id='d25oq'><fieldset id='d25oq'></fieldset></dl></div>

      <bdo id='d25oq'></bdo><ul id='d25oq'></ul>
  • <legend id='d25oq'><style id='d25oq'><dir id='d25oq'><q id='d25oq'></q></dir></style></legend>
  • <tfoot id='d25oq'></tfoot>

    1. <small id='d25oq'></small><noframes id='d25oq'>

      1. java包名为什么要小写?

        时间:2023-09-27

                <bdo id='cy0HP'></bdo><ul id='cy0HP'></ul>

                <small id='cy0HP'></small><noframes id='cy0HP'>

                  <tfoot id='cy0HP'></tfoot>
                    <tbody id='cy0HP'></tbody>

                  <legend id='cy0HP'><style id='cy0HP'><dir id='cy0HP'><q id='cy0HP'></q></dir></style></legend>
                  <i id='cy0HP'><tr id='cy0HP'><dt id='cy0HP'><q id='cy0HP'><span id='cy0HP'><b id='cy0HP'><form id='cy0HP'><ins id='cy0HP'></ins><ul id='cy0HP'></ul><sub id='cy0HP'></sub></form><legend id='cy0HP'></legend><bdo id='cy0HP'><pre id='cy0HP'><center id='cy0HP'></center></pre></bdo></b><th id='cy0HP'></th></span></q></dt></tr></i><div id='cy0HP'><tfoot id='cy0HP'></tfoot><dl id='cy0HP'><fieldset id='cy0HP'></fieldset></dl></div>
                  本文介绍了java包名为什么要小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  其实这完全是理论上的问题.但有趣的是为什么 java 规范不允许在包中使用大写字母并导致写这样的东西:

                  Actually this is completely theoretic question. But it's interesting why java specification don't allow uppercase characters letters in package and cause write something like this:

                  com.mycompany.projname.core.remotefilesystemsynchronization.*
                  

                  而不是

                  com.myCompanyName.projName.core.remoteFileSystemSynchronization.*
                  

                  推荐答案

                  直接来自 Oracle 文档

                  包名全部小写以避免与类或接口的名称.

                  Package names are written in all lower case to avoid conflict with the names of classes or interfaces.

                  这篇关于java包名为什么要小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何在 Android 中包含 Spongy Castle JAR? 下一篇:您在 Java 项目中使用什么策略来命名包,为什么

                  相关文章

                  最新文章

                  <tfoot id='IzIkP'></tfoot>

                1. <i id='IzIkP'><tr id='IzIkP'><dt id='IzIkP'><q id='IzIkP'><span id='IzIkP'><b id='IzIkP'><form id='IzIkP'><ins id='IzIkP'></ins><ul id='IzIkP'></ul><sub id='IzIkP'></sub></form><legend id='IzIkP'></legend><bdo id='IzIkP'><pre id='IzIkP'><center id='IzIkP'></center></pre></bdo></b><th id='IzIkP'></th></span></q></dt></tr></i><div id='IzIkP'><tfoot id='IzIkP'></tfoot><dl id='IzIkP'><fieldset id='IzIkP'></fieldset></dl></div>
                    • <bdo id='IzIkP'></bdo><ul id='IzIkP'></ul>

                    <small id='IzIkP'></small><noframes id='IzIkP'>

                    1. <legend id='IzIkP'><style id='IzIkP'><dir id='IzIkP'><q id='IzIkP'></q></dir></style></legend>