锁定老帖子 主题:遇到这3道笔试题,大家有把握能做对几道
精华帖 (0) :: 良好帖 (10) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2011-07-18
怎么都针对第三题了,第一题第二题我还没看到是到底是什么思路,结果是什么样,祈求高手说说,为何是那个结果·
|
|
返回顶楼 | |
发表时间:2011-07-18
IcyFenix 写道 挺有趣。我给一个真的变量可写不可读的解法。
public class Test { static { A = 2; System.out.println(A); // 这句编译器会提示“非法向前引用” } static int A = 1; } 对这个很感兴趣,刚试探了下,发现如果改为System.out.println(Test.A)就能编译通过 求解惑 |
|
返回顶楼 | |
发表时间:2011-07-18
越来越有意思了
|
|
返回顶楼 | |
发表时间:2011-07-18
最后修改:2011-07-18
第二题
trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try try try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch trycatchfinallyfinally trycatchfinallyfinally try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try try trycatchfinallycatch trycatchfinallyfinally trycatchfinallycatch try trycatchfinallycatch 在我结束它的时候它还没有打印完呢。 |
|
返回顶楼 | |
发表时间:2011-07-18
第一题前面有人说的很清楚了
第二题为什么没有栈溢出? |
|
返回顶楼 | |
发表时间:2011-07-18
java_林 写道 第一题前面有人说的很清楚了 第二题为什么没有栈溢出? 必须有啊,你在catch里sysout后面设置一个断点,然后debug,跑一会就有了 |
|
返回顶楼 | |
发表时间:2011-07-18
我想请问的是第二题为何不会死循环呢。。。
|
|
返回顶楼 | |
发表时间:2011-07-18
freish 写道 java_林 写道 第一题前面有人说的很清楚了
第二题为什么没有栈溢出? 必须有啊,你在catch里sysout后面设置一个断点,然后debug,跑一会就有了 总算看到了,不过debug时myeclipse卡死了 |
|
返回顶楼 | |
发表时间:2011-07-18
挺有意思的!
|
|
返回顶楼 | |
发表时间:2011-07-18
我看LZ是西安的,
LZ能透露下是西安的哪家公司吗? |
|
返回顶楼 | |