
<div style="color: rgb(18,18,18);"> <div> <img alt="" src="https://uploadfiles.nowcoder.com/images//_40/712EA2730C160EDECD4D8E2F9"><br> </div> </div> <blockquote> <div> <div> 耗时一个月,收集了GitHub中文社区最热门的大厂面试题,我们程序员与别的行业不一样,除了上学的时候要做题,我们上班了找工作还得做题,甚至Java面试八股文都变成一个热词,由此可见一斑。 </div> </div> <div> <div> 很多认非常反感这种面试模式,国内的互联网面试,恐怕是现存的、最接近科举考试的制度。 </div> </div> <div> <div> 而且,我国的八股文确实是独树一帜。以美国为例,北美工程师面试比较重视算法(Coding),近几年也会加入Design轮(系统设计和面向对象设计OOD)和BQ轮(Behavioral question,行为面试问题)。 </div> </div> <div> <div> 那么为什么国内面试不采取这样的考察方式呢?简单来说,互联网IT行业的求职者太多了,如果考察的是清一溜的算法题和设计题,那么会要求面试官有极高的技术水平,还要花大量的时间成本和精力。 </div> </div> <div> <div> <br> </div> </div> <div> <div> 也许现行的八股文面试不是最优的解法,但的确是最符合当前国内IT环境的做法。 </div> </div> <div> <div> 闲话就扯到这里,不管兄弟们认同还是不认同,都不防随我一起看看下面的题 </div> </div> <div> <br> </div> <div> 篇幅所限,这里只贴下题目,完整的权威答案我整理成了这份~~~ 《Java面试核心技术栈》~~~分享给大家,初衷也很简单,就是希望能够帮助到大家,抓住机会,不为自己的努力留遗憾! </div> <div> <br> </div> </blockquote> <div style="color: rgb(18,18,18);"> <span></span> </div> <div style="color: rgb(18,18,18);"> <span></span> </div> <div style="color: rgb(18,18,18);"> <br> </div> <div style="color: rgb(18,18,18);"> <div> <img alt="" src="https://uploadfiles.nowcoder.com/compress/mw1000/images//_53/81ABD9C6239AEFB66BFC0D2C8" style="height: auto;width: 498.0px;"><br> </div> <div> 1. 解释下什么是面向对象?面向对象和面向过程的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 面向对象的三大特性?分别解释下? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. JDK、JRE、JVM 三者之间的关系? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. 重载和重写的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. Java 中是否可以重写一个 private 或者 static 方法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 构造方法有哪些特性? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. 在 Java 中定义一个不做事且没有参数的构造方法有什么作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. Java 中创建对象的几种方式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. 抽象类和接口有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. 静态变量和实例变量的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. 12、short s1 = 1;s1 = s1 + 1;有什么错?那么 short s1 = 1; s1 += 1;呢?有没有错误? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. Integer 和 int 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. 装箱和拆箱的区别 </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. switch 语句能否作用在 byte 上,能否作用在 long 上,能否作用在 String 上? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 16、final、finally、finalize 的区别 </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. == 和 equals 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 两个对象的 hashCode() 相同,则 equals() 也一定为 true 吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. 为什么重写 equals() 就一定要重写 hashCode() 方法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. & 和 && 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. Java 中的参数传递时传值呢?还是传引用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. Java 中的 Math.round(-1.5) 等于多少? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 如何实现对象的克隆? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 深克隆和浅克隆的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. 什么是 Java 的序列化,如何实现 Java 的序列化? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. 什么情况下需要序列化? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. Java 的泛型是如何工作的 ? 什么是类型擦除 ? </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 什么是泛型中的限定通配符和非限定通配符 ? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. List 和 List 之间有什么区别 ? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. Java 中的反射是什么意思?有哪些应用场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. 反射的优缺点? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. Java 中的动态代理是什么?有哪些应用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 32. 怎么实现动态代理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 33. static 关键字的作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 34. super 关键字的作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 35. 字节和字符的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 36. String 为什么要设计为不可变类? </div> </div> <div style="color: rgb(18,18,18);"> <div> 37. String、StringBuilder、StringBuffer 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 38. String 字符串修改实现的原理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 39. String str = "i" 与 String str = new String("i") 一样吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 40. String 类的常用方法都有那些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 41. final 修饰 StringBuffer 后还可以 append 吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 42. Java 中的 IO 流的分类?说出几个你熟悉的实现类? </div> </div> <div style="color: rgb(18,18,18);"> <div> 43. 字节流和字符流有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 44. BIO、NIO、AIO 有什么区别? </div> <div> <br> </div> <div> <strong>----</strong><strong><u><em>>>>JAVA</em></u></strong><strong><u><em>八股文合集<<<</em></u></strong><strong>----</strong><br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_15/v2-66a91033ee06dc7f4d040c60629f0241_720w.png"> </div> </div> </div> </div> </div> <div style="color: rgb(18,18,18);"> <div> <img alt="" src="https://uploadfiles.nowcoder.com/images//_07/80694EA47E78DDFBF1AE2F74B1"><br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div style="text-align: center;"> <br> </div> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. finally 块中的代码什么时候被执行? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. finally 是不是一定会被执行到? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. try-catch-finally 中,如果 catch 中 return 了,finally 还会执行吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. try-catch-finally 中那个部分可以省略? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. Error 和 Exception 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 运行时异常与受检异常有何异同? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. throw 和 throws 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 常见的异常类有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. 主线程可以捕获到子线程的异常吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_37/v2-5fadb60d02cd920f81b46dd7c3059ec4_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_51/v2-56009ed0c2d54bc6861ce05d14_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. Java 中常用的容器有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. ArrayList 和 LinkedList 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. ArrayList 实现 RandomAccess 接口有何作用?为何 LinkedList 却没实现这个接口? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. ArrayList 的扩容机制? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. Array 和 ArrayList 有何区别?什么时候更适合用 Array? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. HashMap 的实现原理/底层数据结构?JDK1.7 和 JDK1.8 </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. HashMap 的 put 方法的执行过程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. HashMap 的 get 方法的执行过程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. HashMap 的 resize 方法的执行过程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. HashMap 的 size 为什么必须是 2 的整数次方? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. HashMap 多线程死循环问题? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. HashMap 的 get 方法能否判断某个元素是否在 map 中? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. HashMap 与 HashTable 的区别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. HashMap 与 ConcurrentHashMap 的区别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. HashTable 和 ConcurrentHashMap 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. ConcurrentHashMap 的实现原理是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. HashSet 的实现原理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. HashSet 怎么保证元素不重复的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. LinkedHashMap 的实现原理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. Iterator 怎么使用?有什么特点? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. Iterator 和 ListIterator 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. Iterator 和 Enumeration 接口的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. fail-fast 与 fail-safe 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. Collection 和 Collections 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_98/v2-3658da805d204c71b3a88_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_61/v2-d31c5595d93f750b43512e0926a4ea8f_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 并行和并发有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 线程和进程的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. 守护线程是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. 创建线程的几种方式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. Runnable 和 Callable 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 线程状态及转换? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. sleep() 和 wait() 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 线程的 run() 和 start() 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. 在 Java 程序中怎么保证多线程的运行安全? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. Java 线程同步的几种方法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. Thread.interrupt() 方法的工作原理是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. 谈谈对 ThreadLocal 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. 在哪些场景下会使用到 ThreadLocal? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. 说一说自己对于 synchronized 关键字的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 如何在项目中使用 synchronized 的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. 说说 JDK1.6 之后的 synchronized 关键字底层做了哪些优化,可以详细介绍一下这些优化吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 谈谈 synchronized 和 ReenTrantLock 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. synchronized 和 volatile 的区别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. 谈一下你对 volatile 关键字的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. 说下对 ReentrantReadWriteLock 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. 说下对悲观锁和乐观锁的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 乐观锁常见的两种实现方式是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 乐观锁的缺点有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. CAS 和 synchronized 的使用场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. 简单说下对 Java 中的原子类的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. atomic 的原理是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 说下对同步器 AQS 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. AQS 的原理是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. AQS 对资源的共享模式有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. AQS 底层使用了模板方法模式,你能说出几个需要重写的方法吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. 说下对信号量 Semaphore 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 32. CountDownLatch 和 CyclicBarrier 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 33. 说下对线程池的理解?为什么要使用线程池? </div> </div> <div style="color: rgb(18,18,18);"> <div> 34. 创建线程池的参数有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 35. 如何创建线程池? </div> </div> <div style="color: rgb(18,18,18);"> <div> 36. 线程池中的的线程数一般怎么设置?需要考虑哪些问题? </div> </div> <div style="color: rgb(18,18,18);"> <div> 37. 执行 execute() 方法和 submit() 方法的区别是什么呢? </div> </div> <div style="color: rgb(18,18,18);"> <div> 38. 说下对 Fork和Join 并行计算框架的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 39. JDK 中提供了哪些并发容器? </div> </div> <div style="color: rgb(18,18,18);"> <div> 40. 谈谈对 CopyOnWriteArrayList 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 41. 谈谈对 BlockingQueue 的理解?分别有哪些实现类? </div> </div> <div style="color: rgb(18,18,18);"> <div> 42. 谈谈对 ConcurrentSkipListMap 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_97/v2-dde9e09b5eb6e36cefe903ccbea9f29d_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_50/v2-61159cfcdfb6e82fe81ca91eb9ea148f_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 说一下 Jvm 的主要组成部分?及其作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 谈谈对运行时数据区的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. 堆和栈的区别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. 堆中存什么?栈中存什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. 为什么要把堆和栈区分出来呢?栈中不是也可以存储数据吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. Java 中的参数传递时传值呢?还是传引用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. Java 对象的大小是怎么计算的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 对象的访问定位的两种方式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. 判断垃圾可以回收的方法有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. 垃圾回收是从哪里开始的呢? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. 被标记为垃圾的对象一定会被回收吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. 谈谈对 Java 中引用的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. 谈谈对内存泄漏的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. 内存泄露的根本原因是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 举几个可能发生内存泄漏的情况? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. 尽量避免内存泄漏的方法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 常用的垃圾收集算法有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. 为什么要采用分代收集算法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. 分代收集下的年轻代和老年代应该采用什么样的垃圾回收算法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. 什么是浮动垃圾? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. 什么是内存碎片?如何解决? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 常用的垃圾收集器有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 谈谈你对 CMS 垃圾收集器的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. 谈谈你对 G1 收集器的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. 说下你对垃圾回收策略的理解/垃圾回收时机? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. 谈谈你对内存分配的理解?大对象怎么分配?空间分配担保? </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 说下你用过的 JVM 监控工具? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. 如何利用监控工具调优? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. JVM 的一些参数? </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. 谈谈你对类文件结构的理解?有哪些部分组成? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. 谈谈你对类加载机制的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 32. 类加载各阶段的作用分别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 33. 有哪些类加载器?分别有什么作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 34. 类与类加载器的关系? </div> </div> <div style="color: rgb(18,18,18);"> <div> 35. 谈谈你对双亲委派模型的理解?工作过程?为什么要使用 </div> </div> <div style="color: rgb(18,18,18);"> <div> 36. 怎么实现一个自定义的类加载器?需要注意什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 37. 怎么打破双亲委派模型? </div> </div> <div style="color: rgb(18,18,18);"> <div> 38. 有哪些实际场景是需要打破双亲委派模型的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 39. 谈谈你对编译期优化和运行期优化的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 40. 为何 HotSpot 虚拟机要使用解释器与编译器并存的架构? </div> </div> <div style="color: rgb(18,18,18);"> <div> 41. 说下你对 Java 内存模型的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 42. 内存间的交互操作有哪些?需要满足什么规则? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_63/v2-fec99d36e73f6d36d3379ca5331e3392_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_76/v2-9caabb78ea0bf12f2fc35_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 使用 Spring 框架的好处是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 解释下什么是 AOP? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. AOP 的代理有哪几种方式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. 怎么实现 JDK 动态代理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. AOP 的基本概念:切面、连接点、切入点等? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 通知类型(Advice)型(Advice)有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. 谈谈你对 IOC 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. Bean 的生命周期? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. Bean 的作用域? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. Spring 中的单例 Bean 的线程安全问题了解吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. 谈谈你对 Spring 中的事物的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. Spring 中的事务隔离级别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. Spring 中的事物传播行为? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. Spring 常用的注入方式有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. Spring 框架中用到了哪些设计模式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. ApplicationContext 通常的实现有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 谈谈你对 MVC 模式的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. SpringMVC 的工作原理/执行流程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. SpringMVC 的核心组件有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. SpringMVC 常用的注解有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. 的作用是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 如何解决 POST 请求中文乱码问题,GET 的又如何处理呢? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. SpringMVC 的控制器是不是单例模式,如果是会有什么问题,怎么解决? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. SpringMVC 怎么样设定重定向和转发的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. SpringMVC 里面拦截器是怎么写的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. SpringMVC 和 Struts2 的区别有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 谈谈你对 MyBatis 的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. MyBaits 的优缺点有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. MyBatis 与 Hibernate 有哪些不同? </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. MyBatis 中 #{} 和 ${}的区别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. MyBatis 是如何进行分页的?分页插件的原理是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 32. MyBatis 有几种分页方式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 33. MyBatis 逻辑分页和物理分页的区别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 34. MyBatis 是否支持延迟加载?如果支持,它的实现原理是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 35. 说一下 MyBatis 的一级缓存和二级缓存? </div> </div> <div style="color: rgb(18,18,18);"> <div> 36. Mybatis 有哪些执行器(Executor)? </div> </div> <div style="color: rgb(18,18,18);"> <div> 37. MyBatis 动态 SQL 是做什么的?都有哪些动态 SQL?能简述一下动态 SQL的执行原理不? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_90/v2-d0fb27642db84be691f83ecf8_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_36/v2-fe5d6b810a45bb7a1_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <div> <div> <br> </div> </div> </div> </div> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_53/v2-68ecd29844adde5519a350f90f5597a6_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 请说下你对 MySQL 架构的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 一条 SQL 语句在数据库框架中的执行流程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. 数据库的三范式是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. char 和 varchar 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. varchar(10) 和 varchar(20) 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 谈谈你对索引的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. 索引的底层使用的是什么数据结构? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 谈谈你对 B+ 树的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. 为什么 InnoDB 存储引擎选用 B+ 树而不是 B 树呢? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. 谈谈你对聚簇索引的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. 谈谈你对哈希索引的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. 谈谈你对覆盖索引的认识? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. 索引的分类? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. 谈谈你对最左前缀原则的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 怎么知道创建的索引有没有被使用到?或者说怎么才可以知道这条语句运行很慢的原因? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. 什么情况下索引会失效?即查询不走索引? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 查询性能的优化方法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. InnoDB 和 MyISAM 的比较? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. 谈谈你对水平切分和垂直切分的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. 主从复制中涉及到哪三个线程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. 主从同步的延迟原因及解决办法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 谈谈你对数据库读写分离的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 请你描述下事务的特性? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. 谈谈你对事务隔离级别的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. 解释下什么叫脏读、不可重复读和幻读? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. MySQL 默认的隔离级别是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 谈谈你对MVCC 的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. 说一下 MySQL 的行锁和表锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. InnoDB 存储引擎的锁的算法有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. MySQL 问题排查都有哪些手段? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. MySQL 数据库 CPU 飙升到 500% 的话他怎么处理? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_59/v2-8abb88243fe28d26bcbcbf4c8e_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_03/v2-5f0ed352c6915f98ed06101a936deb6a_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 谈下你对 Redis 的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. Redis 一般都有哪些使用场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. Redis 有哪些常见的功能? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. Redis 支持的数据类型有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. Redis 为什么这么快? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 什么是缓存穿透?怎么解决? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. 什么是缓存雪崩?该如何解决? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 怎么保证缓存和数据库数据的一致性? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. Redis 持久化有几种方式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. Redis 怎么实现分布式锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. Redis 淘汰策略有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. Redis 常见性能问题和解决方案? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_63/v2-15b876ed3e0e2e5529cdca9e6_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_03/v2-4236bc59035c_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 为什么需要三次握手?两次不行? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 为什么需要四次挥手?三次不行? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. TCP与UDP有哪些区别?各自应用场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. HTTP1.0,1.1,2.0 的版本区别 </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. POST和GET有哪些区别?各自应用场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. HTTP 哪些常用的状态码及使用场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. HTTP状态码301和302的区别,都有哪些用途? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 在交互过程中如果数据传送完了,还不想断开连接怎么办,怎么维持? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. HTTP 如何实现长连接?在什么时候会超时? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. TCP 如何保证有效传输及拥塞控制原理 </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. IP地址有哪些分类? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. GET请求中URL编码的意义 </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. 什么是SQL 注入?举个例子? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. 谈一谈 XSS 攻击,举个例子? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 讲一下网络五层模型,每一层的职责? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. 简单说下 HTTPS 和 HTTP 的区别 </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 对称加密与非对称加密的区别 </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. 简单说下每一层对应的网络协议有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. ARP 协议的工作原理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. TCP 的主要特点是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. UDP 的主要特点是什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. TCP 和 UDP 分别对应的常见应用层协议有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 为什么 TIME-WAIT 状态必须等待 2MSL 的时间呢? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. 保活计时器的作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. TCP 协议是如何保证可靠传输的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. 谈谈你对停止等待协议的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 谈谈你对 ARQ 协议的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. 谈谈你对滑动窗口的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. 谈下你对流量控制的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. 谈下你对 TCP 拥塞控制的理解?使用了哪些算法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. 什么是粘包? </div> </div> <div style="color: rgb(18,18,18);"> <div> 32. TCP 黏包是怎么产生的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 33. 怎么解决拆包和粘包? </div> </div> <div style="color: rgb(18,18,18);"> <div> 34. forward 和 redirect 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 35. HTTP 方法有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 36. 在浏览器中输入 URL 地址到显示主页的过程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 37. DNS 的解析过程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 38. 谈谈你对域名缓存的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 39. 谈下你对 HTTP 长连接和短连接的理解?分别应用于哪些场景? </div> </div> <div style="color: rgb(18,18,18);"> <div> 40. HTTPS 的工作过程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 41. HTTP 和 HTTPS 的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 42. HTTPS 的优缺点? </div> </div> <div style="color: rgb(18,18,18);"> <div> 43. 什么是数字签名? </div> </div> <div style="color: rgb(18,18,18);"> <div> 44. 什么是数字证书? </div> </div> <div style="color: rgb(18,18,18);"> <div> 45. Cookie 和 Session 有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_92/v2-a400f99f2b04f619f0ab0b53b5bf7413_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_29/v2-00ca14eb7708eff21b5e9e9aebf0c0f2_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 简单说下你对并发和并行的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 同步、异步、阻塞、非阻塞的概念 </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. 进程和线程的基本概念 </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. 进程与线程的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. 为什么有了进程,还要有线程呢? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 进程的状态转换 </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. 进程间的通信方式有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. 进程的调度算法有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. 什么是死锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. 产生死锁的原因? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. 死锁产生的必要条件? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. 解决死锁的基本方法? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. 怎么预防死锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. 怎么避免死锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 怎么解除死锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. 什么是缓冲区溢出?有什么危害? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 分页与分段的区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. 物理地址、逻辑地址、虚拟内存的概念 </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. 页面置换算法有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. 谈谈你对动态链接库和静态链接库的理解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. 外中断和异常有什么区别? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 一个程序从开始运行到结束的完整过程,你能说出来多少? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 什么是用户态和内核态 </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. 用户态和内核态是如何切换的? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. 进程终止的方式 </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. 守护进程、僵尸进程和孤儿进程 </div> </div> <div style="color: rgb(18,18,18);"> <div> 27. 如何避免僵尸进程? </div> </div> <div style="color: rgb(18,18,18);"> <div> 28. 介绍一下几种典型的锁? </div> </div> <div style="color: rgb(18,18,18);"> <div> 29. 常见内存分配内存错误 </div> </div> <div style="color: rgb(18,18,18);"> <div> 30. 内存交换中,被换出的进程保存在哪里? </div> </div> <div style="color: rgb(18,18,18);"> <div> 31. 原子操作的是如何实现的 </div> </div> <div style="color: rgb(18,18,18);"> <div> 32. 抖动你知道是什么吗?它也叫颠簸现象 </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_78/v2-ebf994c3baf0663_720w.png"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div> <div> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_12/v2-00919a55a7604dcd3241f9144ec86727_720w.jpg"> <div style="color: rgb(255,255,255);"> </div> </div> </div> </div> </div> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(18,18,18);"> <div> 1. 消息队列的基本作用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 2. 消息队列的优缺点有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 3. 如何保证消息队列的高可用? </div> </div> <div style="color: rgb(18,18,18);"> <div> 4. 如何保证消息不被重复消费?或者说,如何保证消息消费的幂等性? </div> </div> <div style="color: rgb(18,18,18);"> <div> 5. 如何保证消息的可靠性传输?或者说,如何处理消息丢失的问题? </div> </div> <div style="color: rgb(18,18,18);"> <div> 6. 如何保证消息的顺序性? </div> </div> <div style="color: rgb(18,18,18);"> <div> 7. 大量消息在 MQ 里长时间积压,该如何解决? </div> </div> <div style="color: rgb(18,18,18);"> <div> 8. MQ 中的消息过期失效了怎么办? </div> </div> <div style="color: rgb(18,18,18);"> <div> 9. RabbitMQ 有哪些重要的角色? </div> </div> <div style="color: rgb(18,18,18);"> <div> 10. RabbitMQ 有哪些重要的组件? </div> </div> <div style="color: rgb(18,18,18);"> <div> 11. RabbitMQ 有几种广播类型? </div> </div> <div style="color: rgb(18,18,18);"> <div> 12. Kafka 可以脱离 zookeeper 单独使用吗?为什么? </div> </div> <div style="color: rgb(18,18,18);"> <div> 13. Kafka 有几种数据保留的策略? </div> </div> <div style="color: rgb(18,18,18);"> <div> 14. Kafka 的分区策略有哪些? </div> </div> <div style="color: rgb(18,18,18);"> <div> 15. 谈下你对 Zookeeper 的认识? </div> </div> <div style="color: rgb(18,18,18);"> <div> 16. Zookeeper 都有哪些功能? </div> </div> <div style="color: rgb(18,18,18);"> <div> 17. 谈下你对 ZAB 协议的了解? </div> </div> <div style="color: rgb(18,18,18);"> <div> 18. Zookeeper 怎么保证主从节点的状态同步? </div> </div> <div style="color: rgb(18,18,18);"> <div> 19. Zookeeper 有几种部署模式? </div> </div> <div style="color: rgb(18,18,18);"> <div> 20. 说一下 Zookeeper 的通知机制? </div> </div> <div style="color: rgb(18,18,18);"> <div> 21. 集群中为什么要有主节点? </div> </div> <div style="color: rgb(18,18,18);"> <div> 22. 集群中有 3 台服务器,其中一个节点宕机,这个时候 Zookeeper 还可以使用吗? </div> </div> <div style="color: rgb(18,18,18);"> <div> 23. 说一下两阶段提交和三阶段提交的过程?分别有什么问题? </div> </div> <div style="color: rgb(18,18,18);"> <div> 24. Zookeeper 宕机如何处理? </div> </div> <div style="color: rgb(18,18,18);"> <div> 25. 说下四种类型的数据节点 Znode? </div> </div> <div style="color: rgb(18,18,18);"> <div> 26. Zookeeper 和 Dubbo 的关系? </div> </div> <div style="color: rgb(18,18,18);"> <div> <br> </div> </div> <div style="color: rgb(51,51,51);"> <div style="text-align: center;"> <div> <img src="https://uploadfiles.nowcoder.com/files//_05/v2-efe0304dd2324a2_720w.png"> </div> <div> <br> </div> </div> </div> <blockquote> <div> <div style="text-align: center;"> <div> 好了,本文就写到这了,上述所有题目的答案我都整理成PDF了 </div> </div> </div> <div> <div style="text-align: center;"> <div> <br> </div> </div> </div> <div> <div style="text-align: center;"> <div> <div> <div> 大家可以看看这本 ~~~ 《Java面试核心技术栈》 ~~~ 希望可以顺利帮助大家拿下秋招,斩获大厂offer! </div> </div> </div> </div> </div> <div> <div style="text-align: center;"> <div> <div> <br> </div> </div> </div> </div> <div> <div style="text-align: center;"> <div> <div> 今天的分享就到这里了,觉得小编的内容对你有帮助的友友麻烦帮我点赞转发啦~ 关注下次不迷路(手动狗头)哈哈哈哈 </div> </div> </div> </div> </blockquote> <div style="color: rgb(51,51,51);"> <div style="text-align: center;"> <div> <img alt="" src="https://uploadfiles.nowcoder.com/images//_77/C430BB7815B28A04D4682F4E"> </div> <br> <br> </div> </div>
讯享网

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/195638.html