当前位置:墨水屋 >

职场人生 >综合指导 >

研发工程师的笔试题

研发工程师的笔试题

我报的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;

{

tln(“构造块”);

}

static{

tln(“静态块”);

}

public void print(String str){

tln((++k)+“:”+“   i=”+i+“  n=”+n);n++;i++;

public  void test(String str){

tln((++k)+“:”+“   i=”+i+“  n=”+n+str);n++;i++;

}

}

public static void main(String args[]){test test1=new test(“init”);

}

}

标签: 笔试 工程师
  • 文章版权属于文章作者所有,转载请注明 https://www.moshuiwu.com/zhzdjy/3nr174.html