指针?java?
public class Ex{
public static void main(String args[]){
Asist asist= new Asist();
Leader leader =new Leader(asist);
}
}
class Asist{
public String name;
}
class Leader{
private String name;
private int age;
private Asist asist;
public Leader(Asist asist){
this.asist=asist;
}
}
简写了很多。。。