17. class C{
public static void main(String/ args) {
char c1=65;
switch(c1){
case 'A:
System.out.println("one");
default:
System.out.println("two");
case 'b':
System.out.println("three");
}}}
What is the result of attempting to compile and run the program ?
A: prints one two hree
B: prints two three
C: compile time error
D: Runtime exception
E: None of the above
Answers
Answered by
1
Answer:
compile time error
I hope you helpful
please Mark me brainlaist
Similar questions
English,
2 months ago
Geography,
2 months ago
Math,
4 months ago
Social Sciences,
4 months ago
History,
10 months ago