PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
successful_man

PRO192_-_SU_2023_-_Block_5_-_FE_735.webp

(12
Answer (Choose 1 answer)
B. Compilation Error
C. 10
D. Exception
Find the output of the below program?
class Shape {
protected int a;
protected Shape() { a = 10;}
public class Main extends Shape {
public static void main(String[] args) { Main obj = new Main();System.out.println(obj.a);}
A. 0

Thông tin

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

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
File size
46.9 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom