答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
C#中使用SerialPort类时需引入那个命名空间?
①
System.IO.Ports
②
System.IO
③
System.Ports
④
System
参考答案:
复制
纠错
相关题目
【简答题】
要在一个类中包含System.Data命名空间的语句是[填空1]。
查看完整题目与答案
【单选题】
以下程序的运行结果是:( ) public class Increment{ public static void main(String args[]){ int c; c = 2; System.out.println(@@; System.out.println(c++); System.out.println(@@; } }
①
2 2 2
②
2 3 3
③
2 2 3
④
3 4 4
查看完整题目与答案
【单选题】
getCustomerInfo()方法如下,try中可以捕获三种类型的异常,如果在该方法运行中产生了一个IOException,将会输出什么结果( ) public void getCustomerInfo() { try { // do something that may cause an Exception } catch (java.io.FileNotFoundException ex){ System.out.print(FileNotFoundException!); } catch (java.io.IOException ex){ System.out.print(IOException!); } catch (java.lang.Exception ex){ System.out.print(Exception!); } }
①
IOException!
②
IOException!Exception!
③
FileNotFoundException!IOException!
④
FileNotFoundException!IOException!Exception!
查看完整题目与答案
【单选题】
The thieves _____ the possibility of the alarm system sounding
①
overtook
②
overcame
③
overlooked
④
overworked
查看完整题目与答案
【判断题】
4.Java系统的标准输入对象是System.in,标准输出对象有两个,分别是标准输出System.out和标准错误输出System.err。( )
①
正确
②
错误
查看完整题目与答案
【单选题】
Java系统标准输出对象System.out使用的输出流是( )。
①
PrintStream
②
PrintWriter
③
DataOutputStream
④
FileReader
查看完整题目与答案
【单选题】
_____the center of our planetary system was considered as heresy by the church in the Middle Ages.
①
It is the sun and not the earth
②
That the sun and not the earth is
③
Being the sun and not the earth
④
The sun and not the earth
查看完整题目与答案
【判断题】
System类中的println()方法分行显示信息,而print()方法不分行显示信息。
①
正确
②
错误
查看完整题目与答案
【单选题】
By using a system approach to health care, early ( )practitioners discovered acupuncture points.
①
Western
②
Southern
③
Northern
④
oriental
查看完整题目与答案
【单选题】
阅读以下代码: import java.io.*; import java.util.*; public class foo{ public static void main (String[] args){ String s; System.out.println(s= + s); } } 输出结果应该是:( )
①
代码得到编译,并输出“s=”
②
代码得到编译,并输出“s=null”
③
由于String s没有初始化,代码不能编译通过
④
代码得到编译,但捕获到 NullPointException异常
查看完整题目与答案
随机题目
【单选题】
A: Thanks to John, weve lost our most important client. B: Ive told you hes not proper for the position. A: [填空].
①
I should have listened to you
②
I dont really agree with you
③
It doesnt matter. I trust him
④
Thank you for being so helpful
查看完整题目与答案
【单选题】
A: How long does it take to get to your house by bus? B: [填空]. I think the tube is your best choice. A: Many thanks.
①
I dont know yet
②
It depends on the traffic
③
Let me see
④
Youll consider the distance
查看完整题目与答案
【单选题】
A: Hi. My name is David Manning. Im from Britain. B: Im Bill Clinton. Glad to meet you. What year are you? A: [填空].
①
Im a first-year student
②
I was born in 1990
③
Ive been here for years
④
Im 19 years old
查看完整题目与答案
【单选题】
下列不属于我国公民基本权利的有()。
①
迁徙自由权
②
受教育权
③
人身自由权
④
选举权和被选举权
查看完整题目与答案
【单选题】
( )是调节个人与祖国之间关系的道德要求、政治原则和法律规范。
①
爱国思想
②
爱国行为
③
爱国主义
④
爱国情感
查看完整题目与答案
【单选题】
为人民服务低层次的要求是( )
①
人人为我,我为人人
②
全心全意为人民服务
③
毫不利己、专门利人
④
人人为自己上帝为大家
查看完整题目与答案
【判断题】
法律权利和法律义务密不可分,且具有顺序性。
①
正确
②
错误
查看完整题目与答案
【单选题】
有序的公共生活对进社会健康发展具有重要意义。由一定规则维系的人们公共生活的有序化状态,称为()。
①
公共秩序
②
公共领域
③
公共道德
④
公共场所
查看完整题目与答案
【单选题】
立法程序中最重要和最有决定意义的阶段是( )。
①
法律案的提出
②
法律案的审议
③
法律案的表决
④
法律的公布
查看完整题目与答案
【判断题】
迟来的正义等于非正义。表明了执法效率对于实现公平正义的重要性。
①
正确
②
错误
查看完整题目与答案