class TestLX1
{
public TestLX1()
{
System.out.println("沙皮狗");
}
public TestLX1(String name)
{
System.out.println(name);
}
}
class Nb extends TestLX1
{
public Nb(String name)
{
super(name);
}
public Nb()
{
super();
}
}
class TestLX
{
public static void main(String[] args)
{
Nb b=new Nb("藏獒");
Nb d=new Nb();
}
}
|
|