PRO192_-_FA_2023_-_RE_1159.webp
Hoàng Nam

PRO192_-_FA_2023_-_RE_1159.webp

(Choose 1 answer)
What is the output of the following code?
class Rectangle {
int marks = 10:
}
public class Main {
public static void main(String... args) {
Rectangle s = new Rectangle();
switch (s.marks) {
default:
System.out.println("A");
case 10:
System.out.println("B");
case 100:
System.out.println("C");
}
ABC A. A
BB B. A
C. B
D. A


Exit 46

Thông tin

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

Image metadata

Filename
PRO192_-_FA_2023_-_RE_1159.webp
File size
50.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom