皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
下列关于结构体的说法错误的是
A.
结构体是用户自定义的一种数据类型
B.
结构体中可设定若干个不同数据类型的成员
C.
结构体中成员的数据类型可以是另一个已经定义的结构
D.
在定义结构体时,可以对成员进行初始化。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【判断题】Autobiography was the major genre in Native American Literature from the mid-19th century through the early years of the 20th century(T/F)
A.
正确
B.
错误
【单选题】关于以下application的说明,正确的是( ) 1. class StaticStuff 2. { 3. static int x=10; 4. static { x+=5;} 5. public static void main(String args[...
A.
4行与9行不能通过编译,因为缺少方法名和返回类型
B.
9行不能通过编译,因为只能有一个静态初始化器
C.
编译通过,执行结果为:x=5
D.
编译通过,执行结果为:x=3
【单选题】Unlike his contemporaries in the early 20 th century, ________ did not break up with the poetic tradition nor made any experiment on form.
A.
Walt Whitman
B.
Robert Frost
C.
Ezra Pound
D.
T. S. Eliot
【单选题】关于以下application的说明,正确的是( )。 (1)class StaticStuff (2){ (3)static int x=15; (4)static {x*=3;) (5)public static void main (StringArgs[]) (6){ (7)System.out.println('x='+x); (8)} (9)static{x/=3;} (10) }
A.
(4)行与(9)行不能通过编译,因为缺少方法名和返回类型
B.
(9)行不能通过编译,因为只能有一个静态初始化器
C.
编译通过,执行结果为:x=15
D.
编译通过,执行结果为:x=3
【单选题】关于以下application的说明,正确的是:
A.
class   StaticStuff
B.
{
C.
static  int  x=10;
D.
static  { x+=5;}
E.
public  static  void  main(String  args[ ])
F.
{
G.
System.out.println(“x=” + x);
H.
}
I.
static  { x/=3;}
J.
.   } K. 4行与9行不能通过编译,因为缺少方法名和返回类型 L. 9行不能通过编译,因为只能有一个静态初始化器
【单选题】which of the following writers belong to New England poets in the early 20th century American Literature?
A.
E. Robinson
B.
T.S. Eliot
C.
Robert Frost
D.
Ezra Pound
【单选题】关于以下 application 的说明,正确的是( C ) 1 . class StaticStuff { 2 . static int x=10 ; 3 . static { x+=5 ; } 4 . public static void main ( String args[ ] ) { 5. System.out.println( “ x= ” + x); 6 . } 7...
A.
3 行与 7 行不能通过编译,因为缺少方法名和返回类型
B.
7 行不能通过编译,因为只能有一个静态初始化器
C.
编译通过,执行结果为: x=5
D.
编译通过,执行结果为: x=3
【单选题】Cross-country bicycle racing, ______ early in the 20th century in France, was current in the 1920s and became prominent in the 1950s.
A.
generated
B.
originated
C.
sponsored
D.
proclaimed
【单选题】.关于以下application的说明,正确的是( )。classStaticStuff{staticintx=10;static{x+=5;}publicstaticvoidmain(Stringargs[]){System.out.println(“x=”+x);}static{x/=3;}}
A.
4 行与 9 行不能通过编译,因为缺少方法名和返回类型
B.
9 行不能通过编译,因为只能有一个静态初始化器
C.
编译通过,执行结果为: x=5
D.
编译通过,执行结果为: x=3
【单选题】关于以下application的说明,正确的是( ) class StaticStuff { static int x=10; static {x+=5;} public static void main(String args[ ]) { System.out.println(“x\=”+x); } static {x=3;} }
A.
4行与9行不能通过编译,因为缺少方法名和返回类型
B.
9行不能通过编译,因为只能有一个静态初始化值
C.
编译通过,执行结果为:x=5
D.
编译通过,执行结果为:x=9
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题