public static void main(String[] args) {
//根据Phone类,创建一个名为one的对象
//格式:类名称 对象名 = new 类名称();
phone one = new phone();
System.out.println(one.brand); //null
System.out.println(one.price); //0.0
System.out.println(one.color); //null
System.out.println("===========");
one.brand = "华为";
one.price = 8388.0;
one.color = "白色";
System.out.println(one.brand); //华为
System.out.println(one.price); //8388.0
System.out.println(one.color); //白色
System.out.println("===========");
one.call("AAAA"); //给AAAA打电话
one.sendMessage(); //群发短信
}