有一道题
我看的资料给的答案是A,E.
我很奇怪B为什么不对?
15. Give the following java source fragement:
//point x
public class Interesting{
//do something
}
Which statement is correctly Java syntax at point x?
A. import java.awt.*;
B.package mypackage
C. static int PI=3.14
D. public class MyClass{//do other thing…} E. class MyClass{//do something…}
我很奇怪B为什么不对?
15. Give the following java source fragement:
//point x
public class Interesting{
//do something
}
Which statement is correctly Java syntax at point x?
A. import java.awt.*;
B.package mypackage
C. static int PI=3.14
D. public class MyClass{//do other thing…} E. class MyClass{//do something…}
...全文
相关推荐
ctf一道逆向题
近期ctf逆向题的一道简单题,新手小白,用它来学习一下手动脱壳。。
一道ctf的misc题
一道ctf的misc题
JAVA界面的一道题
JAVA界面的一道题
有关c语言程序的一道题
一道关于C语言程序的题 程序题main(){ float a,b; char c; printf("input expression: a+(-,*,/)b \n"); switch() { case '+': printf("%f\n",a+b);break; case '-': printf("%f\n",a-b);break; case '*': printf("%f\n",a*b);break; case '/': printf("%f\n",a/b);break; } }
关于acm青蛙过河的一道题代码acm
关于acm青蛙过河的一道题代码acm,请大家参考之,希望有用处


