PRO192_-_C2_-_FE_-_SU_2023_398.webp
T

PRO192_-_C2_-_FE_-_SU_2023_398.webp

Answer (Choose 1 answer)
What will be the output of the following Java program?
final class A
{
}
int i;
class B extends A
{
int j;System.out.println(j + " " + i);}
class inheritance
{
public static void main(String args[])
B obj = new B();
obj.display();
}
}
A. 00
B. Display nothing (empty)
C. Compiler error
D. Runtime Error
Exit 33

Thông tin

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

Image metadata

Filename
PRO192_-_C2_-_FE_-_SU_2023_398.webp
File size
48.5 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom