搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

Which two code fragments are most likely to cause a StackOverflowError?()

A、int []x = {1,2,3,4,5};for(int y = 0; y < 6; y++)    System.out.println(x[y]);

B、static int[] x = {7,6,5,4};static { x[1] = 8;x[4] = 3; }

C、for(int y = 10; y < 10; y++)doStuff(y);

D、void doOne(int x) { doTwo(x); }void doTwo(int y) { doThree(y); }void doThree(int z) { doTwo(z); }

E、for(int x = 0; x < 1000000000; x++) doStuff(x);

F、void counter(int i) { counter(++i); }

更多“Which&#8194;two&#8194;code&#8194;fragments&#8194;are&#8194;most&#8194;likely&#8194;to&#8194;cause&#8194;a&#8194;StackOverflowError?()”相关的问题
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服