《研发工程师的笔试题.doc》由会员分享,可在线阅读,更多相关《研发工程师的笔试题.doc(2页珍藏版)》请在三一文库上搜索。
研发工程师的笔试题 我报的java研发工程师,没想到他居然考C语言擦。只有两道附加题是java的,只记得一道了,差不多的意思求他输出的结果: class test public static int n=99; public static test t1=new test(t1); public static test t2=new test(t2); public static int i=print(i); public static int j=i; System.out.println(“构造块”); static System.out.println(“静态块”); public void print(String str) System.out.println(+k)+“:”+“ i=”+i+“ n=”+n);n+;i+; public void test(String str) System.out.println(+k)+“:”+“ i=”+i+“ n=”+n+str);n+;i+; public static void main(String args)test test1=new test(“init”); 模板,内容仅供参考