1. 下面哪些赋值语句是正确的?( ) A. long test = 012; B. float f = -412; C. int other = (int) true; D. double d = 0x12345678; E. byte b = 128;
1. 在Java中,下列语句不能通过编译的有( ) A. String s= “join”+ 3; B. int a= “join”+3; C. int a= ‘a’+5; D. float f=5+5.5; 1. 下列哪些代码可以顺利通过编译和运行? ( ) A.Integer i = new Integer('A'); B.Integer i = new Integer("7"); C.Character c = new Character("A"); D.Boolean b = new Boolean(null); E.Integer i = new Integer("0x10"); 这三道题跪求详解!每个选项具体说下!谢谢拉!{:3_64:} |