新建文件夹
public class JavaA {
public String name="guoyasoft";
public int age=23;
public String addr="shanghai";
public void hello(){
System.out.println("my name is A !" );
}
public static void main(String[] args) {
JavaA obj=new JavaA();
obj.hello();
System.out.println("name="+obj.name);
System.out.println("age="+obj.age);
System.out.println("addr="+obj.addr);
}
}