[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fOnN5bdWX1Gq3VyrIyq5mXqRksVy3tnVVpiukMA64zTY":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2024-09-18 23:12:02",159657139,[8,9,10,11],"String","short","boolean","char",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},19,"10796076c393b2688e81cf17bf7b4eeb","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F1e0e50bdac1b9da5fb4319f0aae7889d.png","Java程序设计","work_36791162","第二章Java语法基础课后习题","下列选项中,不属于基本数据类型的是( )",[21,32,41,50,53,62,71,78,87,96],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],159657130,[25,26,27,28],"char a='a'","char b=97","char c=0x61","char d=A","下面关于字符变量的定义中,错误的是( )","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],159657134,[36,37,38,39],"float a=1.23","double b=1.23","double c=1.5E4","float d='a'","下面浮点型数据的定义中,错误的是( )",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],159657138,[45,46,47,48],"byte是java中的整数类型,它的取值范围是-127到128","java中的整数有正负之分","bit是java中的整数类型,它代表的是1个字节","int是java中的整数类型,它在内存中占4个字节","下面关于整数类型的描述中,错误的是( )",{"answer":51,"createTime":5,"id":6,"options":52,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":54,"createTime":5,"id":55,"options":56,"question":61,"source":30,"type":31},[],159657140,[57,58,59,60],"byte a=1","short b=100","int c='a'","long d=8888888888","下列选项中,哪一个不能通过编译( )",{"answer":63,"createTime":5,"id":64,"options":65,"question":70,"source":30,"type":31},[],159657141,[66,67,68,69],"Java中的数据类型分为基本数据类型和引用数据类型","int类型数据占4个字节","浮点数类型变量不能赋予一个整数数值","布尔类型的变量只有true和false这两个值","下列关于数据类型的说法中,错误的是( )",{"answer":72,"createTime":5,"id":73,"options":74,"question":77,"source":30,"type":31},[],159657142,[75,9,11,76],"byte","float","下列数据类型中,哪种数据类型转为int类型需要进行强制转换()",{"answer":79,"createTime":5,"id":80,"options":81,"question":86,"source":30,"type":31},[],159657143,[82,83,84,85],"int+int","long+long","byte+byte","double+double","下列数据类型进行运算时,哪一个会发生自动类型提升( )",{"answer":88,"createTime":5,"id":89,"options":90,"question":95,"source":30,"type":31},[],159657144,[91,92,93,94],"编译报错","编译通过,执行输出127","编译通过,执行报错","以上选项均不正确","请阅读下列的程序 public class Example01 { public static void main(String[] args) { int num = 127; byte b = num; System.out.println(b); } } 程序的运行结果是( )",{"answer":97,"createTime":5,"id":98,"options":99,"question":104,"source":30,"type":31},[],159657145,[100,101,102,103],"int&larr;short","int&larr;byte","int&larr;char","int&larr;float","下列选项中,按照箭头方向,需要进行强制类型转换的是( )"]