-->
当前位置:首页 > 题库

单选题:Which switch-case below is NOT correct?

Luz5年前 (2021-05-10)题库2082
Which switch-case below is NOT correct? @[D](2)

A. int i; switch (i) { case...}
B. String s; switch (s) { case...}
C. char c; switch (c) { case...}
D. boolean b; switch (b) { case...}




A.int i; switch (i) { case...}
B.String s; switch (s) { case...}
C.char c; switch (c) { case...}
D.boolean b; switch (b) { case...}


答案:D