试题详情
- 单项选择题 try { if ((new Object))(.equals((new Object()))) { System.out.println(“equal”); }else{ System.out.println(“not equal”); } }catch (Exception e) { System.out.println(“exception”); } What is the result? ()
A、 equal
B、 not equal
C、 exception
D、 Compilation fails.
- D
关注下方微信公众号,在线模考后查看
热门试题