摘要:
输出程序运行后的打印结果: class Father{ static { System.out.print("1"); } Father(){ System.out.print("3"); } } class Son extends Father{ static { System.out.print 阅读全文
摘要:
遇到的一道面试笔试题,输出程序运行后的打印结果: class ReturnAndFinally{ static String fun(){ try { int v = 1/0; }catch (Exception ex){ return "ERROR"; }finally { return "OK" 阅读全文