<legend id='6NWdl'><style id='6NWdl'><dir id='6NWdl'><q id='6NWdl'></q></dir></style></legend>
      <bdo id='6NWdl'></bdo><ul id='6NWdl'></ul>

  1. <small id='6NWdl'></small><noframes id='6NWdl'>

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

      char类型可以归类为整数吗?

      时间:2023-07-28
      <tfoot id='bQ9FA'></tfoot>

      <legend id='bQ9FA'><style id='bQ9FA'><dir id='bQ9FA'><q id='bQ9FA'></q></dir></style></legend>
        <bdo id='bQ9FA'></bdo><ul id='bQ9FA'></ul>

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

          1. <i id='bQ9FA'><tr id='bQ9FA'><dt id='bQ9FA'><q id='bQ9FA'><span id='bQ9FA'><b id='bQ9FA'><form id='bQ9FA'><ins id='bQ9FA'></ins><ul id='bQ9FA'></ul><sub id='bQ9FA'></sub></form><legend id='bQ9FA'></legend><bdo id='bQ9FA'><pre id='bQ9FA'><center id='bQ9FA'></center></pre></bdo></b><th id='bQ9FA'></th></span></q></dt></tr></i><div id='bQ9FA'><tfoot id='bQ9FA'></tfoot><dl id='bQ9FA'><fieldset id='bQ9FA'></fieldset></dl></div>
                  <tbody id='bQ9FA'></tbody>
                本文介绍了char类型可以归类为整数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                刚才我读到char 是 Java 中唯一的无符号整数原始类型".这是否意味着 char 是 Java 中的整数类型之一?

                Just now I read "char is the only unsigned integral primitive type in Java." Does this mean the char is one of the integral types in Java?

                和C一样,最近读到C类型包括标量类型、函数类型、联合类型、聚合类型,标量类型包括指针类型和算术类型,然后算术类型包括整数类型和浮点类型,整数类型包括枚举类型和字符类型.

                Same as in C, recently I have read that C types includes scalar types, function types, union types, aggregate types, and scalar types include pointer types and arithmetic types, then arithmetic types include integral types and floating-point types, the integral types include enumerated types and character types.

                char 类型真的可以在 Java 和 C 中都归类为整数吗?

                Can the char type really be categorized as a integer both in Java and C?

                推荐答案

                是的,char 在它出现的所有流行语言中都是一个整数类型.积分"意味着它的光谱是离散的,并且任何两个不同值之间的最小差异是1.与其他整数类型相比,所需的支持值范围通常非常小.计算机硬件传统上将整数视为基本数据类型;相比之下,算术浮点类型是一种更新且更复杂的添加.

                Yes, a char is an integral type in all the popular languages in which it appears. "Integral" means that its spectrum is discrete and the smallest difference between any two distinct values is 1. The required range of supported values is usually quite small compared to that of other integral types. Computer hardware traditionally treats integers as the fundamental data type; by contrast, arithmetic floating-point types are a more recent and more complicated addition.

                这篇关于char类型可以归类为整数吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:在不使用正则表达式的情况下,判断一个字符是 下一篇:如何检查字符是否为元音?

                相关文章

                最新文章

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

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

                  1. <tfoot id='Px8bu'></tfoot>
                  2. <legend id='Px8bu'><style id='Px8bu'><dir id='Px8bu'><q id='Px8bu'></q></dir></style></legend>