题海让大学四年没有难题
白天模式登陆

题目详情

以下程序的输出结果为 . class B { int b; B(int x) { b = x; System.out.println("b=" + b); } } class A extends B { int a; A(int x, int y) { super(x); a = y; System.out.println("b=" + b + ",a=" + a); } } public class Test { public static void main(String[] args) { A obj = new A(13, 23); } }

学科:Java程序设计

时间:2023-12-21 02:24:37

Copyright © 2022 津ICP备2021001502号