PRO192_-_C2_-_FE_-_SU_2023_398.webp
T

PRO192_-_C2_-_FE_-_SU_2023_398.webp

(Choose 1 answer)
public class Inc{
What will happen when you attempt to compile and run the following code?
public static void main(String argv[]){
Inc inc = new Inc();
int i = 0;
inc.fermin(i);
System.out.println(i++);
}
void fermin(int i){
i++;
} }
A. Compile time error
B. Output of 2
C. Output of 1
D. Output of 0
Exit 45

Thông tin

Category
PRO192
Thêm bởi
Thái Dương1
Ngày thêm
Lượt xem
2,392
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