对象创建与使用
掌握如何创建类的对象
掌握如何使用两个或者多个变量引用同一个实例对象
public class Example01 {
public static void main(String []args){
Student s1=new Student ();
s1.name="张三";
s1.age=
对象创建与使用
掌握如何创建类的对象
掌握如何使用两个或者多个变量引用同一个实例对象
public class Example01 {
public static void main(String []args){
Student s1=new Student ();
s1.name="张三";
s1.age=