class sonic
{
public void sony()
{
System.out.println("class name:"+getClass().getName());
}
}
public class 123 extends sonic
{
public static void main(String arg[])
{
sonic p=new sonic();
p.sony();
}
}
//此程序百般调试都一直报错
class sonic
{
public void sony()
{
System.out.println("class name:"+getClass().getName());
}
}
public class 123 extends sonic
{
public static void main(String arg[])
{
sonic p=new sonic();
p.sony();
}
}
//此程序百般调试都一直报错