【判断题】【消耗次数:1】
printf()和 format()方法使用指定格式字符串和参数,将格式化字符串写入到PrintStream类型的输出流(System.out对象)中。
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 缓存区溢出和格式化字符串攻击主要是由于( )原因造成的
①  被攻击平台主机档次较差
②  分布式DOS攻击造成系统资源耗尽
③  被攻击系统没有安装必要的网络设备
④  由于编程人员在编写程序过程中书写不规范造成的
【判断题】 C语言中没有字符串类型,也没有字符串变量,字符串是存放在字符型数组中的。
①  正确
②  错误
【单选题】 字符串输出函数是
①  getchar()
②  putchar()
③  getchars()
④  putchars()
【单选题】 下列关于字符串的描述中,错误的是()。
①  一维字符数组可以存放一个字符串
②  二维字符数组可以存放多个字符串
③  可以使用一个字符串给二维字符数组赋值
④  可以用一个字符串给二维字符数组初始化
【单选题】 Flash将一字符串填充不同的颜色,可先将字符串_______。
①  分离
②  组合
③  转换为元件
④  转换为按钮
【判断题】 String对象提供了对字符串进行处理的属性和方法。
①  正确
②  错误
【判断题】 字符串"AB"与"ab"是两个相等的字符串。
①  正确
②  错误
【判断题】 write和writeln方法都接受一个字符串参数,在当前HTML文档中输出字符串,唯一区别:write在字串末尾加一个(\n)。
①  正确
②  错误
【单选题】 Java系统标准输出对象System.out使用的输出流是( )。
①  PrintStream
②  PrintWriter
③  DataOutputStream
④  FileReader
【单选题】 下列对字符串的定义中,错误的是()
①  char str[5]=abcde;
②  char str[ ]=abcde;
③  char *str =abcde;
④  char str[ ]={’a’,’b’,’c’,’d’,’e’,’\0’};
随机题目
【单选题】 First please be ( ) during your travel,otherwise we will waste time.
①  on time
②  in time
③  at the time
④  by the time
【单选题】 The receptionist receives a client. What is the chinese meaning of the client in the sentence?( )
①  顾客
②  代理
③  律师
④  法官
【单选题】 I ( ) hope you will come to china again soon.
①  sincerity
②  since
③  sincerely
④  sincere
【单选题】 It’s ( )to arrive at 5:30 pm local time…
①  schedule
②  scheduled
③  scheduling
④  to scheduled
【单选题】 Please, just put your suitcase on the ( )
①  scales
②  weight
③  weigh
④  balance
【单选题】 The chinese meaning of the word geography is ( )
①  生物
②  地理
③  物理
④  哲学
【单选题】 Their knowledge should ( ) the various aspects
①  updated on
②  be updated
③  update one
④  be updated on
【单选题】 My name is Michael. I am from CITS. ( )my company, I warmly welcome you to visit GZ.
①  In behalf of
②  At behalf of
③  On behalf
④  On behalf of
【单选题】 Tour leaders are ( ) with historical background, geography ,current affairs.
①  well equipped
②  well equip
③  well-equipped
④  well-equip
【判断题】 A galloping horse alighting on a swallow was discovered by a farmer in October 1959, in a temple to the Chinese God of Thunder in WUWEI, Gansu Province.
①  正确
②  错误