4位反序数,设N是一个四位数,它的9倍恰好是其反序数,求N。(反序数就是将整数的数字倒过来形成的整数,如1234的反序数是4321。)
相关问题推荐
-
在Java中,关于HashMap类的描述,以下错误的是()。
A、 HashMap使用键/值得形式保存数据
B、 HashMap 能够保证其中元素的顺序
C、 HashMap允许将null用作键
D、 HashMap允许将null用作值
-
在Windows中运行(28)命令后得到如下图所示的结果,该信息表明主机的以太网网卡(29),图中224.0.0.0是(30)。
A.ipconfig/renew
B.ping
C.netstat-r
D.nslookup
-
类Student代码如下: class Student{ String name; int age; Student(String nm){ name = nm; } } 执行语句Student stu = new Student()后,字段age的值是哪项?()
A、 0
B、 null
C、 false
D、 编译错误
-
class MyApp{ public static void main(String[] args){ int age; System.out.println(“age=”+age); } } 执行上述代码后输出的结果是哪项?()
A、age=0
B、age=null
C、age=
D、程序编译错误
-
现有: class Parser (类)extends(继承) Utils { public static void main(String [] args) { System.out.print(输出打印)(new Parser().getInt("42")); } int getInt(String arg) { return Integer.parseInt(arg); } } class Utils { int getInt(String arg) throws Exception { return 42; } } 结果为:()
A、 42
B、 编译失败。
C、 无输出结果。
D、 运行时异常被抛出。