PRO192_-_SP_2024_-_Block_5_-_RE_1965.webp
T

PRO192_-_SP_2024_-_Block_5_-_RE_1965.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
B. A
C. B
D. A
E. csdfsdf


Thông tin

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

Image metadata

Filename
PRO192_-_SP_2024_-_Block_5_-_RE_1965.webp
File size
188.3 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom