TA的每日心情 | 开心 2021-3-12 23:18 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
Swing教学PPT课件与例题.内容丰富。
考考你33
Given:
1. public class ClassA {
2. public static void main(String [] args) {
3.
4. switch(x) {
5. default:
6. System.out.println("Here it is.");
7. }
8. }
9. }
The ClassA class can be compiled successfully by inserting one
of three possible options on line 3. When inserted separately,which three will allow compilation to succeed?
(Choose three.)
A int x = 6;
B short x = 3;
C char x = "y";
D long x = 354;
E boolean x = true;
源码下载:http://file.javaxxz.com/2014/10/28/235510906.zip |
|