首页
Java
登录
6mi
u
盘
搜
搜 索
Java
构造函数
构造函数
xiaoxiao
2022-06-11
71
class Top{ public Top(String s){System.out.print("B");} } public class Bottom2 extends Top{ public Bottom(String s){System.out.print("D"); public static void main(String[] args){ new Bottom2("C"); System.out.println(" "); } } 请说说这题运行结果是什么,并解释下原因??
转载请注明原文地址: https://www.6miu.com/read-4931337.html
Java
最新回复
(
0
)