PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
successful_man

PRO192_-_SU_2023_-_Block_5_-_FE_735.webp

(19
Answer (Choose 1 answer)
CA
D. B
}
}
E. csdfsdf

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");
A. A
B. A

Thông tin

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

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
File size
49.5 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom