|
1 | 1 | * [Java基础](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#Java基础) |
2 | | - * [1.说下面向对象四大特性](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#1说下面向对象四大特性) |
3 | | - * [2.Java语言有些特点](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#2Java语言有哪些特点) |
4 | | - * [3.什么是Java程序的主类?应用程序和小程序的主类有何不同?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#3什么是java程序的主类应用程序和小程序的主类有何不同) |
5 | | - * [4.<strong>访问修饰符public,private,protected,以及不写(默认)时的区别?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#4访问修饰符publicprivateprotected以及不写默认时的区别) |
6 | | - * [5.<strong>float f=3.4;是否正确?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#5float-f34是否正确) |
7 | | - * [6.<strong>Java有没有goto?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#6java有没有goto) |
8 | | - * [7.<strong>&和&&的区别?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#7和的区别) |
9 | | - * [8.<strong>Math.round(11.5) 等于多少?Math.round(-11.5)等于多少?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#8mathround115-等于多少mathround-115等于多少) |
10 | | - * [9.<strong>用最有效率的方法计算2乘以8?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#9用最有效率的方法计算2乘以8) |
11 | | - * [10.什么是Java注释](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#10什么是java注释) |
12 | | - * [11.Java有哪些数据类型](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#11java有哪些数据类型) |
13 | | - * [12.final 有什么用?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#12final-有什么用) |
14 | | - * [13.final finally finalize的区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#13final-finally-finalize的区别) |
15 | | - * [14.<strong>String str = "i" 和String str = new String("1")一样吗?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#14string-str--i-和string-str--new-string1一样吗) |
16 | | - * [15.<strong>Java 中操作字符串都有哪些类?它们之间有什么区别?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#15java-中操作字符串都有哪些类它们之间有什么区别) |
17 | | - * [16.Java中为什么要用 clone?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#16java中为什么要用-clone) |
18 | | - * [17.<strong>深克隆和浅克隆?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#17深克隆和浅克隆) |
19 | | - * [18.new一个对象的过程和clone一个对象的区别?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#18new一个对象的过程和clone一个对象的区别) |
20 | | - * [19.Java中实现多态的机制是什么?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#19java中实现多态的机制是什么) |
21 | | - * [20.谈谈你对多态的理解?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#20谈谈你对多态的理解) |
22 | | - * [21.<strong>构造器(constructor)是否可被重写(override)?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#21构造器constructor是否可被重写override) |
23 | | - * [22.<strong>两个对象值相同(x.equals(y) == true),但却可有不同的hash code,这句话对不对?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#22两个对象值相同xequalsy--true但却可有不同的hash-code这句话对不对) |
24 | | - * [23.<strong>是否可以继承String类?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#23是否可以继承string类) |
25 | | - * [24.<strong>String类的常用方法有哪些?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#24string类的常用方法有哪些) |
26 | | - * [25.<strong>char型变量中能否能不能存储一个中文汉字,为什么?</strong>](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#25char型变量中能否能不能存储一个中文汉字为什么) |
27 | | - * [26.this关键字的用法](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#26this关键字的用法) |
28 | | - * [27.super关键字的用法](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#27super关键字的用法) |
29 | | - * [28.this与super的区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#28this与super的区别) |
30 | | - * [29.static存在的主要意义](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#29static存在的主要意义) |
31 | | - * [30.static的独特之处](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#30static的独特之处) |
32 | | - * [31.static应用场景](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#31static应用场景) |
33 | | - * [32.static注意事项](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#32static注意事项) |
34 | | - * [33.break ,continue ,return 的区别及作用](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#33break-continue-return-的区别及作用) |
35 | | - * [34.在Java中定义一个不做事且没有参数的构造方法的作用](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#34在java中定义一个不做事且没有参数的构造方法的作用) |
36 | | - * [35.构造方法有哪些特性?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#35构造方法有哪些特性) |
37 | | - * [36.静态变量和实例变量区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#36静态变量和实例变量区别) |
38 | | - * [38.静态方法和实例方法有何不同?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#38静态方法和实例方法有何不同) |
39 | | - * [39.什么是方法的返回值?返回值的作用是什么?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#39什么是方法的返回值返回值的作用是什么) |
40 | | - * [40.什么是内部类?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#40什么是内部类) |
41 | | - * [41.内部类的分类有哪些](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#41内部类的分类有哪些) |
42 | | - * [42.Java中异常分为哪些种类?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#42java中异常分为哪些种类) |
43 | | - * [43.hashCode 与 equals (重要)](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#43hashcode-与-equals-重要) |
44 | | - * [hashCode()介绍](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#hashcode介绍) |
45 | | - * [44.为什么要有 hashCode](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#44为什么要有-hashcode) |
46 | | - * [45.抽象类和接口(Java7)的区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#45抽象类和接口java7的区别) |
47 | | - * [46.Java 8的接口新增了哪些特性?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#46java-8的接口新增了哪些特性) |
48 | | - * [47.重写和重载的区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#47重写和重载的区别) |
49 | | - * [48.ArrayList和LinkedList有什么区别?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#48arraylist和linkedlist有什么区别) |
50 | | - * [49.HashMap是怎么实现的?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#49hashmap是怎么实现的) |
51 | | - * [50.HashMap在Java7和Java8中的实现有什么不同?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#50hashmap在java7和java8中的实现有什么不同) |
52 | | - * [51.HashMap有时候会死循环,你知道是什么原因吗?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#51hashmap有时候会死循环你知道是什么原因吗) |
53 | | - * [52.ConcurrentHashMap是怎么实现的?](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#52concurrenthashmap是怎么实现的) |
54 | | - * [53.静态代理和动态代理的区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#53静态代理和动态代理的区别) |
55 | | - * [54.JDK动态代理和CGLIB动态代理的区别](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#54jdk动态代理和cglib动态代理的区别) |
56 | | - * [参考链接](https://github.com/JavaInterviewHub/JavaInterview/blob/main/Java%E5%9F%BA%E7%A1%80.md#参考链接) |
| 2 | + * [1.说下面向对象四大特性](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#1说下面向对象四大特性) |
| 3 | + * [2.Java语言有哪些特点](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#2java语言有哪些特点) |
| 4 | + * [3.什么是Java程序的主类?应用程序和小程序的主类有何不同?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#3什么是java程序的主类应用程序和小程序的主类有何不同) |
| 5 | + * [4.访问修饰符public,private,protected,以及不写(默认)时的区别?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#4访问修饰符publicprivateprotected以及不写默认时的区别) |
| 6 | + * [5.float f=3.4;是否正确?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#5float-f34是否正确) |
| 7 | + * [6.Java有没有goto?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#6java有没有goto) |
| 8 | + * [7.&和&&的区别?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#7和的区别) |
| 9 | + * [8.Math.round(11.5) 等于多少?Math.round(-11.5)等于多少?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#8mathround115-等于多少mathround-115等于多少) |
| 10 | + * [9.用最有效率的方法计算2乘以8?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#9用最有效率的方法计算2乘以8) |
| 11 | + * [10.什么是Java注释](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#10什么是java注释) |
| 12 | + * [11.Java有哪些数据类型](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#11java有哪些数据类型) |
| 13 | + * [12.final 有什么用?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#12final-有什么用) |
| 14 | + * [13.final finally finalize的区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#13final-finally-finalize的区别) |
| 15 | + * [14.String str = "i" 和String str = new String("1")一样吗?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#14string-str--i-和string-str--new-string1一样吗) |
| 16 | + * [15.Java 中操作字符串都有哪些类?它们之间有什么区别?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#15java-中操作字符串都有哪些类它们之间有什么区别) |
| 17 | + * [16.Java中为什么要用 clone?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#16java中为什么要用-clone) |
| 18 | + * [17.深克隆和浅克隆?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#17深克隆和浅克隆) |
| 19 | + * [18.new一个对象的过程和clone一个对象的区别?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#18new一个对象的过程和clone一个对象的区别) |
| 20 | + * [19.Java中实现多态的机制是什么?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#19java中实现多态的机制是什么) |
| 21 | + * [20.谈谈你对多态的理解?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#20谈谈你对多态的理解) |
| 22 | + * [21.构造器(constructor)是否可被重写(override)?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#21构造器constructor是否可被重写override) |
| 23 | + * [22.两个对象值相同(x.equals(y) == true),但却可有不同的hash code,这句话对不对?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#22两个对象值相同xequalsy--true但却可有不同的hash-code这句话对不对) |
| 24 | + * [23.是否可以继承String类?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#23是否可以继承string类) |
| 25 | + * [24.String类的常用方法有哪些?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#24string类的常用方法有哪些) |
| 26 | + * [25.char型变量中能否能不能存储一个中文汉字,为什么?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#25char型变量中能否能不能存储一个中文汉字为什么) |
| 27 | + * [26.this关键字的用法](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#26this关键字的用法) |
| 28 | + * [27.super关键字的用法](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#27super关键字的用法) |
| 29 | + * [28.this与super的区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#28this与super的区别) |
| 30 | + * [29.static存在的主要意义](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#29static存在的主要意义) |
| 31 | + * [30.static的独特之处](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#30static的独特之处) |
| 32 | + * [31.static应用场景](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#31static应用场景) |
| 33 | + * [32.static注意事项](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#32static注意事项) |
| 34 | + * [33.break ,continue ,return 的区别及作用](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#33break-continue-return-的区别及作用) |
| 35 | + * [34.在Java中定义一个不做事且没有参数的构造方法的作用](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#34在java中定义一个不做事且没有参数的构造方法的作用) |
| 36 | + * [35.构造方法有哪些特性?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#35构造方法有哪些特性) |
| 37 | + * [36.静态变量和实例变量区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#36静态变量和实例变量区别) |
| 38 | + * [37.静态方法和实例方法有何不同?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#37静态方法和实例方法有何不同) |
| 39 | + * [38.什么是方法的返回值?返回值的作用是什么?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#38什么是方法的返回值返回值的作用是什么) |
| 40 | + * [39.什么是内部类?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#39什么是内部类) |
| 41 | + * [40.内部类的分类有哪些](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#40内部类的分类有哪些) |
| 42 | + * [41.Java中异常分为哪些种类?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#41java中异常分为哪些种类) |
| 43 | + * [42.hashCode 与 equals (重要)](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#42hashcode-与-equals-重要) |
| 44 | + * [43.hashCode()介绍](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#43hashcode介绍) |
| 45 | + * [44.为什么要有 hashCode](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#44为什么要有-hashcode) |
| 46 | + * [45.抽象类和接口(Java7)的区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#45抽象类和接口java7的区别) |
| 47 | + * [46.Java 8的接口新增了哪些特性?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#46java-8的接口新增了哪些特性) |
| 48 | + * [47.重写和重载的区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#47重写和重载的区别) |
| 49 | + * [48.ArrayList和LinkedList有什么区别?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#48arraylist和linkedlist有什么区别) |
| 50 | + * [49.HashMap是怎么实现的?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#49hashmap是怎么实现的) |
| 51 | + * [50.HashMap在Java7和Java8中的实现有什么不同?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#50hashmap在java7和java8中的实现有什么不同) |
| 52 | + * [51.HashMap有时候会死循环,你知道是什么原因吗?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#51hashmap有时候会死循环你知道是什么原因吗) |
| 53 | + * [52.ConcurrentHashMap是怎么实现的?](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#52concurrenthashmap是怎么实现的) |
| 54 | + * [53.静态代理和动态代理的区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#53静态代理和动态代理的区别) |
| 55 | + * [54.JDK动态代理和CGLIB动态代理的区别](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#54jdk动态代理和cglib动态代理的区别) |
| 56 | + * [参考链接](https://github.com/JavaInterviewHub/JavaInterview/edit/main/Java%E5%9F%BA%E7%A1%80.md#参考链接) |
| 57 | + |
| 58 | + |
| 59 | + |
0 commit comments