package cty;
public class L {
public int id;
public String name;
public int age;
public String city ;
public String introduce (){
return +id+"我"+name+"年龄"+age+"出生位置"+city;}
}
package cty;
public class m{
public static void main(string [] arges){
L p1=New L();
L p2=New L();
p1.id=111111
p1.name="塔里昂"; p1.age=31;
p1.city="魔多"
p2.name="戒灵";p2.age=100;
p2.city="莫纳嘶魔窟"
System. out.println(p1.introduce());
System. out.println(p2.introduce());
}
}