PRO192_-_C2_-_FE_-_SU_2023_398.webp
T

PRO192_-_C2_-_FE_-_SU_2023_398.webp

OD
(Choose 1 answer)
Given the following. What is the result?
public class Example {
int x=10;
public static void main(String[] args) {
(new Example()).show();
}
public static void show(){
int x=5;
System.out.print("x="+x);
}
}
A. x=5
B. x=10
C. Compilation fails
D. Output is unpredictable
Exit 8

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom