标签:ati sys print static ring display bsp isp log
public class Person { String name; int age; public void display(){ System.out.println("name:"+name+"age"+age); } Person(String n,int a){ name=n; age=a; } } public class Test{ public static void main(String[] args) { Person p=new Person("小花儿", 8); p.display(); } }
标签:ati sys print static ring display bsp isp log
原文地址:http://www.cnblogs.com/zyy1130/p/6687439.html