SCJP題庫第001題
35. String #name = "Jane Doe";
36. int $age = 24;
37. Double _height = 123.5;
38. double ~temp = 37.5;
Which two statements are true? (Choose two.)
A. Line 35 will not compile.
B. Line 36 will not compile.
C. Line 37 will not compile.
D. Line 38 will not compile.
Ans: AD
解說:
Identification should be started with a Unicode letter (a~z, A~Z), underscore (_), or dollar sign ($)
Comments