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

        <legend id='A32Ht'><style id='A32Ht'><dir id='A32Ht'><q id='A32Ht'></q></dir></style></legend>

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

      1. Java 包中的连字符公司名称

        时间:2023-09-27
            <bdo id='mKVDp'></bdo><ul id='mKVDp'></ul>
              <tbody id='mKVDp'></tbody>

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

                  <tfoot id='mKVDp'></tfoot>

                • <legend id='mKVDp'><style id='mKVDp'><dir id='mKVDp'><q id='mKVDp'></q></dir></style></legend>

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

                  本文介绍了Java 包中的连字符公司名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  假设您正在为 BarBaz Incorporated 开发 foo 项目的核心模块.您的代码片段可能如下所示:

                  Say you're working on the core module of the foo project for BarBaz Incorporated. Your code fragment might look like this:

                  package com.barbaz.foo.core;
                  
                  import com.barbaz.foo.util;
                  

                  如果贵公司的网站不是barbaz.com,而是bar-baz.com,那么约定是什么?

                  What would the convention be if your company's website was not barbaz.com, but instead bar-baz.com?

                  推荐答案

                  SUN时代Java 语言规范 给出了建议的约定:

                  The SUN-era Java Language Specification gives a suggested convention:

                  如果域名包含连字符或任何其他在 标识符(§3.8),将其转换为下划线.

                  If the domain name contains a hyphen, or any other special character not allowed in an identifier (§3.8), convert it into an underscore.

                  但这只是一个建议......

                  But it's just a suggestion...

                  这篇关于Java 包中的连字符公司名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:java包结构反向域名有什么意义 下一篇:控制对“.internal"访问的最佳实践包裹

                  相关文章

                  最新文章

                  <legend id='h5mjz'><style id='h5mjz'><dir id='h5mjz'><q id='h5mjz'></q></dir></style></legend>

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

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

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