(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