类和对象
类名 对象名=new 类名();
KFC kfc=new KFC();
引用对象成员使用“.”进行以下操作
引用类的属性:对象名.属性
引用类的方法:对象名.方法名
kfc.name="tom";给name属性赋值
kfc.show(); 调用show()方法