单项选择题
Which statement of assigning a long type variable to a hexadecimal value is correct?()
A. long number = 345L;
B. long number = 0345;
C. long number = 0345L;
D. long number = 0x345L;
点击查看答案&解析
相关考题
-
多项选择题
Whichdeclarationsofidentifiersarelegal?()
A. $persons
B. TwoUsers
C. *point
D. this
E. _endline -
单项选择题
Whichofthefollowingrangeofshortiscorrect?()
A. -27 -- 27-1
B. 0 -- 216-1
C. -215 -- 215-1
D. -231 -- 231-1 -
多项选择题
The8859-1charactercodefortheuppercaseletterAis65.Whichofthesecodefragmentsdeclareandinitializeavariableoftypecharwiththisvalue?()
A.char ch = 65;
B.char ch = ’¥65’;
C.char ch = ’¥0041’;
D.char ch = ’A’;
E.char ch = "A";
