Java基础知识强化23:Java中数据类型转换(面试题)
摘要:
1. 以下代码输出结果是( D )。 public class Test { public static void main(String[] args) { int a=5; System.out.println("values is "+((a < 5) ? 10.9 : 9 ) ); } } 阅读全文
posted @ 2015-09-17 20:46 鸿钧老祖 阅读(339) 评论(0) 推荐(0) 编辑