当前位置: X题卡 > 所有题目 > 题目详情

下面各项声明中合法的是( )。 Ⅰ:long l=4990; Ⅱ:int i=4L; Ⅲ:float f=1.1; Ⅳ:double d=34.4;

查看本题答案

你可能感兴趣的试题

Ⅱ、Ⅲ  Ⅱ、Ⅲ、Ⅳ  Ⅰ、Ⅳ  Ⅲ、Ⅳ  
Const a As Single=1.1  Const a="OK"  Const a As Double=Sin(1)  Const a As Integer="12"  
int _abc=50;  double int=3+5e2.5;  1ong do=1L;  float 3_asd=3e-3;  
Const a As Single = 1.1  Const a As Integer = “12”  Const a As Double = Sin(1)  Const a =”OK”  
longl=499  inti=4L  floatf=1.1  doubled=34.4  String=""  
$1_abc是合法的Java标识符  void是合法的Java保留字  局部变量必须先声明后使用  在Java中,类不是用标识符命名的  
shora=1.4e-1;  double b=l+3e2.8;  long do=0xfdaL;  float2_aaa=1e-3;  
注无色油的  注有色油的  注塑料的  
i=x;  x=u+y;  x=23.4+j*y;  v=(inx;  
short a=1.4e-1;  double b=1+3e2.8;  long do=OxfdaL;  float 2  
int_abc=50;  double int=3+5e2.5  long do=1L;  float 3_asd=3e-3;  
short a=1.4e-1;  double b=1+3e2.8;  long do=0xfdaL;  float2_aaa=1e-3;  
Ⅱ、Ⅲ  Ⅱ、Ⅲ、Ⅳ  Ⅰ、Ⅳ  Ⅲ、Ⅳ  
注无色油的  注有色油的  注塑料的  
Ⅱ、Ⅲ  Ⅱ、Ⅲ、Ⅳ  Ⅰ、Ⅳ  Ⅲ、Ⅳ  
int_abc=50;  double int=3+5e2.5;  long do=1L;  float 3_asd=3e-3;  
short_a=1-.le-1;  double b=1+5e2.5;  long do=0xfdaL;  float2_and=l-e-3;  
Const a As Single=1.1  Const a="OK"  Const a As Double=Sin(1)  Const a As Integer="12"  
short.a=1.4e-1;  double b=l+3e2.8;  long do=0xfdaL;  float2_aaa=1e-3;  

热门试题

更多