例如,以下是语法正确的代码
Double number = 10.0;
是否可以定义我自己的类,如Price
Price myPrice = 10.0;
实际编译?
java primitive-types
java ×1
primitive-types ×1