文档详情

java面试必备手册.pdf

发布:2017-08-29约13.56万字共136页下载文档
文本预览下载声明
Java 2010 . Java 7 1.java7 2 Java goto?7 3 8 4 JAVA 8 5switch byte long String ?...9 6short s1 = 1; s1 = s1 + 1;? short s1 = 1; s1 += 1;? 9 7char ??9 82 8 ? 9 9 9 10final 11 11==equals 11 12 12 13static static 12 14Integer int 13 15Math.round(11.5)? Math.round(-11.5)?13 16? 13 17public private protected 13 18Overload Override Overloaded ? 14 19Constructor override? 15 20 ? (implements)? (concrete class)? main 15 21 clone()15 22 15 23 java 17 24 abstract class interface ? 17 25 abstract method static,native synchronized?18 26 Static Nested Class Inner Class 19 27 20 28 Anonymous Inner Class () extends() implements()interface()? 21 29 super.getClass()21 30String ?22 31String s = Hello;s = s + world!;String 22 32String ? 23 33String s = new String(xyz);String Object? 23 34String StringBuffer 23 35? 24 36length()? String length()24 37String s=a+b+c+d; 24 38try {}return try finally {}code return ?25 39 25 40 final, finally, finalize 27 41 27 42 error exception ?28 43 Java 28 44 5 runtime exception 28 45 JAVA throws,throw,try,catch,finally try 29 46 java ? stop() suspend()29 47 sleep() wait() ?30 48 32 49. 33 50? ?33 51run()start()? 33 52synchronized ? 33 53 34 54synchronized java.util.concurrent.locks.Lock 34 554 j 1j 1 36 5610 10010
显示全部
相似文档