如果Child extends Parent,那么正确的有()? 如果Child是class,且只有一个有参数的构造函数,那么必然会调用Parent中相同参数的构造函数 如果Child是interface,那么Parent必然是interface 如果Child是interface,那么Child可以同时extends Parent1,Parent2等多个interface 如果Child是class,并且没有显示声明任何构造函数,那么此时仍然会调用Parent的构造函数
如果Child是class,且只有一个有参数的构造函数,那么必然会调用Parent中相同参数的构造函数
如果Child是interface,那么Parent必然是interface
如果Child是interface,那么Child可以同时extends Parent1,Parent2等多个interface
如果Child是class,并且没有显示声明任何构造函数,那么此时仍然会调用Parent的构造函数