对象调方法
class A
{
public void Out()//方法
System.out.println("a");
}
public static void main(String[] agrs)
A a=new A();//a是对象
a.Out();