定义下列变量,并打印出来
public class LianXi
{
public static void main(String[] args)
{
String brand = "Apple";
String type = "iPone X";
double screen = 5.8;
double CPU = 2.4;
int capaCity = 256;
System.out.println("品牌:"+brand+"\n型号:"+type+"\n屏幕:"+screen+"英寸:"+"\nCPU频率:"+CPU+"GHz"+"\nROM容量:"+capaCity+"GB");
}
}