搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

编译运行下面的代码会发生什么?()<img src="https://nimg.ppkao.com/2019-05/wangjing/2019050611422450884.jpg?sign=7ec29123f867d18c43d0af6d03eb4810&t=62d76864" />

A、编译错误,Thread类中的run方法没有定义

B、运行时错误,Thread类中的run方法没有定义

C、编译无错,打印0到9.

D、编译无错,不打印任何值

更多“ 编译运行下面的代码会发生什么?()<img src="https://nimg.ppkao.com/2019-05/wangjing/2019050611422450884.jpg?sign=7ec29123f867d18c43d0af6d03eb4810&t=62d76864" />”相关的问题
第1题

A、错误,变量i没有被初始化  B、输出null  C、输出1  D、输出0  

点击查看答案
第2题

A、一切成功编译  B、Shape可以编译Square不能编译  C、Square可以编译Shape不能编译  D、Shape.Square都不能编译  

点击查看答案
第3题

A、一切成功编译  B、Shape可以编译,Square不能编译  C、Square可以编译,Shape不能编译  D、Shape,Square都不能编译  

点击查看答案
第5题

A、0  B、4  C、3  D、代码无法编译,因为var2根本没有被初始化  

点击查看答案
第6题

A、一切成功编译  B、Shape可以编译,Square不能编译  C、Square可以编译,Shape不能编译  D、Shape,Square都不能编译  

点击查看答案
第7题

A、 编译出错  B、 编译通过,运行出错  C、 编译通过,运行时输出“I am an int”  D、 编译通过,运行时输出“I am a string”  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服