PRO192_-_C1_-_RE_-_SU_2023_545.webp
Hoàng Long1

PRO192_-_C1_-_RE_-_SU_2023_545.webp

(Choose 1 answer)
What will be the result when you try to compile and run the following code?
}

private class Base{
Base(){
int i = 100;
System.out.println(i);
}
}
public class Pri extends Base{
static int i = 200;
public static void main(String argv[]){Pri p = new Pri();
System.out.println(i);}
A. Error at compile time
B. 200
C. 100 followed by 200
D. 100
Exit 8

Thông tin

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

Image metadata

Filename
PRO192_-_C1_-_RE_-_SU_2023_545.webp
File size
50.3 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom