《Java Tutorial》中在讲原始数据类型(Primitive Data Type)一节时提到:
"Primitive values do not share state with other primitive values."(原始数据类型的值不会与其他原始数据类型的值分享状态),请问这是什么意思?多谢!

解决方案 »

  1.   

    state有很多翻译
    贴出上下文,或示例代码
      

  2.   

    In addition to int, the Java programming language supports seven other primitive data types. A primitive type is predefined by the language and is named by a reserved keyword. Primitive values do not share state with other primitive values.
      

  3.   

    查了下金山词霸,会不会是“声明”的意思,就是说int类型的变量声明时不能用其他类型^_^差强人意
      

  4.   

    当然也就可能翻译为“位置”就是每个基础类型变量都分配独立的内存,而不是像object那样有reference
      

  5.   


    ls,应该不是声明的意思吧。state   [steit]     n. 州,国,情形
    a. 国家的,正式的
    v. 说,陈述,声明,规定 A variable whose type is a primitive type always holds a primitive value of that type.
      

  6.   

    应该是状态吧,每种Primitive values 的状态是不一样的,int 的是 int, long 的是 long