注意:此页面搜索的是所有试题
题目内容
(河南农业大学-JAVA语言)
请问,以下哪些语句用于实现将一个数值为17对应的八进制文字值赋值给一个整数变量?
请选择一个正确答案:
(A) private final int theNumber=0x17;
(B) private final int theNumber=017;
(C) prblic int theNumber=017;
(D) public int theNumber=(octal)17;
请选择一个正确答案:
(A) private final int theNumber=0x17;
(B) private final int theNumber=017;
(C) prblic int theNumber=017;
(D) public int theNumber=(octal)17;
参考答案

