【单选题】【消耗次数: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异常
随机题目
【多选题】 现金管理包括()功能。
①  往来账的查询
②  日记账
③  银行账
④  支票登记簿
【多选题】 总账管理系统初始化设置包括()
①  设置总账选项
②  设置明细权限
③  输入期初余额
④  自动转账
【多选题】 总账系统提供的主要功能包括( )
①  初始设置
②  凭证管理
③  账簿管理
④  辅助核算管理和期末处理
【多选题】 在用友总账管理系统中,说法正确的是( )
①  每月可多次填制凭证
②  每月可多次记账
③  每月可多次审核凭证
④  每月可多次结账
【多选题】 总账系统中,日常业务处理包括()
①  填制凭证
②  审核凭证
③  记账
④  银行对账
【单选题】 薪资管理系统的主要功能不包括( )
①  工资类别管理
②  人员档案管理
③  发放单位管理
④  工资数据管理
【单选题】 以下属于薪资管理系统初始设置的是
①  建立工资套帐
②  工资变动
③  设立工资分钱清单
④  银行代发
【单选题】 薪资管理系统与下列( ) 系统之间不存在关联关系。
①  成本管理
②  生产制造
③  人事管理
④  存货核算
【单选题】 薪资管理系统每到月末,需要清零,对此表述错误的是
①  选择“业务工作人力资源--业务处理--月末处理”路径设置清零项目
②  为了减少工资录入工作量,清零只是针对固定工资
③  基本工资每个月基本上是不变的,不用设置清零
④  基本工资每个月基本上是不变的,不用设置清零
【单选题】 进行工资类别中的工资项目设置时,需要
①  先关闭该工资类别,再打开该工资类别
②  先打开该工资类别,再关闭该工资类别
③  先打开该工资类别,再关闭该工资类别
④  关闭所有工资类别