PRO192_-_SP_2025_-_Block_5_-_1_3854.webp
M

PRO192_-_SP_2025_-_Block_5_-_1_3854.webp

Kizspy Question: 28
(Choose 1 answer)
What is the output of the following Java program?
class A {
}
public A() {
System.out.print("A");
class B extends A {
public B() {
System.out.print("B,");
class C extends B {
public C() {
System.out.println("C");
public class Test {
public static void main(String[] args) {
C c = new C();
A. A,B,C
B. B,C,A
C. B,A,C
D. A,C,B

Thông tin

Category
PRO192
Thêm bởi
Mahito2001
Ngày thêm
Lượt xem
2,855
Lượt bình luận
9
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom