搜狗2015JAVA工程师笔试题.pdf





《搜狗2015JAVA工程师笔试题.pdf》由会员分享,可在线阅读,更多相关《搜狗2015JAVA工程师笔试题.pdf(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Arun mainBmain runCmainDrunE不能确定A.*?(?=()B.*?(?=()C.*(?=()D.*(?=()搜狗2015 JAVA程师笔试题.单项选择题1.以下程序运的结果为()public class Example extends Thread Override public void run()try Thread.sleep(1000);catch(InterruptedException e)e.printStackTrace();System.out.print(run);public static void main(String args)Example
2、 example=new Example();example.run();System.out.print(main);正确答案:A2.Java中正则表达式截取字符串中第个出现的英左括号之前的字符串。如:北京市(海淀区)(朝阳区)(城区),截取结果为:北京市。正则表达式为()正确答案:A3.以下JAVA程序的输出是什么()public class HelloSogou public static synchronized void main(String a)NOWCODER.COM客-中国最IT笔试/试题库客出品-http:/AHelloSogouBSogouHelloCHelloD结果不确
3、定Adst=String.fromBytes(src,GBK).getBytes(UTF-8)Bdst=new String(src,GBK).getBytes(UTF-8)Cdst=new String(GBK,src).getBytes()Ddst=String.encode(String.decode(src,GBK),UTF-8)A5B10C15 Thread t=new Thread()public void run()Sogou();t.run();System.out.print(Hello);static synchronized void Sogou()System.out.
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 搜狗 2015 JAVA 工程师 笔试

限制150内