The order number and quantity will have an int type because they will contain only integers.
订单号和数量将为int类型,因为其中将仅包含整数。
This differs from c, for example, in which an int type can be 16, 32, or 64 bits long depending on the platform.
这个和C不同,例如,C的int类型可以是16位,32位或者64位的,取决于不同的平台。
int So, primitive type besides those three types, we have ints which are just integers which are similarly 32 bits.
除了这三种类型外,还有一种最原始的数据类型,32比特整数。
So with an integer, an int data type, you can store any number between 0 and 4 billion roughly.
只要有一个整数,一个int型的数据,就能储存任意一个,位于0到40亿之间的一个数。
I get the int and store it in n. The switch statement takes inside its parenthesis an int or a char or some primitive type.
我得到一个整数并把它存储,到n中,switch语句的圆括号里可以是一个整数,或者一个字符或其他的基本类型。
应用推荐