# 1000 Jave Interview Questions ## 一、Java基础 [1.JDK动态代理和CGLIB动态代理的区别](https://zwmst.com/355.html) [2.静态代理和动态代理的区别](https://zwmst.com/353.html) [3.ArrayList和LinkedList有什么区别?](https://zwmst.com/351.html) [4.重写和重载的区别](https://zwmst.com/349.html) [5.Java 8的接口新增了哪些特性?](https://zwmst.com/347.html) [6.抽象类和接口(Java7)的区别](https://zwmst.com/345.html) [7.为什么要有 hashCode](https://zwmst.com/342.html) [8.hashCode()介绍](https://zwmst.com/340.html) [9.hashCode 与 equals (重要)](https://zwmst.com/338.html) [10.Java中异常分为哪些种类?](https://zwmst.com/336.html) [11.内部类的分类有哪些](https://zwmst.com/334.html) [12.什么是内部类?](https://zwmst.com/332.html) [13.什么是方法的返回值?返回值的作用是什么?](https://zwmst.com/330.html) [14.静态方法和实例方法有何不同?](https://zwmst.com/328.html) [15.静态变量和实例变量区别](https://zwmst.com/326.html) [16.构造方法有哪些特性?](https://zwmst.com/324.html) [17.在Java中定义一个不做事且没有参数的构造方法的作用](https://zwmst.com/322.html) [18.break ,continue ,return 的区别及作用](https://zwmst.com/320.html) [19.static注意事项](https://zwmst.com/318.html) [20.static应用场景](https://zwmst.com/316.html) [21.static的独特之处](https://zwmst.com/303.html) [22.static存在的主要意义](https://zwmst.com/301.html) [23.this与super的区别](https://zwmst.com/299.html) [24.super关键字的用法](https://zwmst.com/297.html) [25.String类的常用方法有哪些?](https://zwmst.com/295.html) [26.char型变量中能否能不能存储一个中文汉字,为什么?](https://zwmst.com/293.html) [27.是否可以继承String类?](https://zwmst.com/289.html) [28.两个对象值相同(x.equals(y) == true),但却可有不同的hash code,这句话对 不对?](https://zwmst.com/287.html) [29.构造器(constructor)是否可被重写(override)?](https://zwmst.com/285.html) [30.谈谈你对多态的理解?](https://zwmst.com/283.html) [31.Java中实现多态的机制是什么?](https://zwmst.com/281.html) [32.new一个对象的过程和clone一个对象的区别?](https://zwmst.com/279.html) [33.深克隆和浅克隆?](https://zwmst.com/277.html) [34.Java中为什么要用 clone?](https://zwmst.com/275.html) [35.Java 中操作字符串都有哪些类?它们之间有什么区别?](https://zwmst.com/273.html) [36.String str = “i” 和String str = new String(“1”)一样吗?](https://zwmst.com/271.html) [37.final finally finalize的区别](https://zwmst.com/269.html) [38.final 有什么用?](https://zwmst.com/267.html) [39.Java有哪些数据类型](https://zwmst.com/265.html) [40.什么是Java注释](https://zwmst.com/263.html) [41.用最有效率的方法计算2乘以8?](https://zwmst.com/261.html) [42.Math.round(11.5) 等于多少?Math.round(-11.5)等于多少?](https://zwmst.com/259.html) [43.&和&&的区别?](https://zwmst.com/257.html) [44.Java有没有goto?](https://zwmst.com/255.html) [45.float f=3.4;是否正确?](https://zwmst.com/253.html) [46.访问修饰符public,private,protected,以及不写(默认)时的区别?](https://zwmst.com/251.html) [47.Java语言有哪些特点](https://zwmst.com/244.html) [48.什么是Java程序的主类?应用程序和小程序的主类有何不同?](https://zwmst.com/239.html) [49.说下面向对象四大特性](https://zwmst.com/217.html) ## 二、Java IO [1.IO多路复用的底层原理](https://zwmst.com/390.html) [2.缓冲区是什么意思?](https://zwmst.com/388.html) [3.通道是个什么意思?](https://zwmst.com/386.html) [4.同步、异步、阻塞、非堵塞](https://zwmst.com/384.html) [5.阻塞与非阻塞](https://zwmst.com/382.html) [6.同步与异步](https://zwmst.com/380.html) [7.什么是AIO](https://zwmst.com/378.html) [8.什么是NIO](https://zwmst.com/376.html) [9.什么是BIO](https://zwmst.com/374.html) [10.流一般需要不需要关闭,如果关闭的话在用什么方法,一般要在那个代码块里面关闭比较好,处理流是怎么关闭的,如果有多个流互相调用传入是怎么关闭的?](https://zwmst.com/372.html) [11.什么是节点流,什么是处理流,它们各有什么用处,处理流的创建有什么特征?](https://zwmst.com/370.html) [12.PrintStream、BufferedWriter、PrintWriter的比较?](https://zwmst.com/368.html) [13.字节流和字符流的区别?](https://zwmst.com/366.html) [14.如何实现 java 序列化?](https://zwmst.com/364.html) [15.什么是 java序列化?](https://zwmst.com/362.html) [16.Java 中有几种类型的流?](https://zwmst.com/360.html) ## 三、Java虚拟机 [1.如何判断一个常量是废弃常量 ?](https://zwmst.com/481.html) [2.程序计数器为什么是私有的?](https://zwmst.com/479.html) [3.JRE、JDK、JVM 及 JIT 之间有什么不同?](https://zwmst.com/477.html) [4.JVM调优命令有哪些?](https://zwmst.com/475.html) [5.说一下 JVM 调优的工具?](https://zwmst.com/473.html) [6.介绍一下类文件结构吧!](https://zwmst.com/471.html) [7.如何判断一个类是无用的类?](https://zwmst.com/469.html) [8.Java会存在内存泄漏吗?请简单描述。](https://zwmst.com/467.html) [9.Minor Gc和Full GC 有什么不同呢?](https://zwmst.com/463.html) [10.说一下堆内存中对象的分配的基本策略](https://zwmst.com/459.html) [11.对象的访问定位有哪几种方式?](https://zwmst.com/457.html) [12.说一下Java对象的创建过程](https://zwmst.com/455.html) [13.Java 8 为什么要将永久代(PermGen)替换为元空间(MetaSpace)呢?](https://zwmst.com/453.html) [14.说一下堆和栈的区别](https://zwmst.com/451.html) [15.怎么打破双亲委派模型?](https://zwmst.com/449.html) [16.为什么需要双亲委派模式?](https://zwmst.com/447.html) [17.怎么打出线程栈信息?](https://zwmst.com/445.html) [18.说说你知道的几种主要的JVM参数](https://zwmst.com/443.html) [19.什么是happen-before原则?](https://zwmst.com/441.html) [20.什么是内存屏障?](https://zwmst.com/439.html) [21.什么是指令重排序?](https://zwmst.com/437.html) [22.JVM中一次完整的GC流程是怎样的,对象如何晋升到老年代?](https://zwmst.com/435.html) [23.JVM新生代中为什么要分为Eden和Survivor?](https://zwmst.com/433.html) [24.什么情况下会发生栈内存溢出?](https://zwmst.com/431.html) [25.Java对象的布局了解过吗?](https://zwmst.com/429.html) [26.Tomcat是怎么打破双亲委派机制的呢?](https://zwmst.com/427.html) [27.什么是双亲委派机制?](https://zwmst.com/425.html) [28.说下有哪些类加载器?](https://zwmst.com/423.html) [29.说说类加载的过程](https://zwmst.com/421.html) [30.ZGC收集器中的染色指针有什么用?](https://zwmst.com/419.html) [31.说说ZGC垃圾收集器的工作原理](https://zwmst.com/417.html) [32.说说G1垃圾收集器的工作原理](https://zwmst.com/415.html) [33.说说CMS垃圾收集器的工作原理](https://zwmst.com/413.html) [34.你了解过哪些垃圾收集器?](https://zwmst.com/411.html) [35.对象都是优先分配在年轻代上的吗?](https://zwmst.com/409.html) [36.GC Roots有哪些?](https://zwmst.com/407.html) [37.JVM怎么判断一个对象是不是要回收?](https://zwmst.com/405.html) [38.Java里有哪些引用类型?](https://zwmst.com/403.html) [39.你熟悉哪些垃圾收集算法?](https://zwmst.com/401.html) [40.字符串常量存放在哪个区域?](https://zwmst.com/399.html) [41.程序计数器有什么作用?](https://zwmst.com/397.html) [42.栈帧里面包含哪些东西?](https://zwmst.com/393.html) ## 四、Kafka [1.简述Follower副本消息同步的完整流程](https://zwmst.com/555.html) [2.JavaConsumer为什么采用单线程来获取消息?](https://zwmst.com/553.html) [3.Controller发生网络分区(NetworkPartitioning)时,Kafka会怎么样?](https://zwmst.com/551.html) [4.Kafka的哪些场景中使用了零拷贝(ZeroCopy)?](https://zwmst.com/540.html) [5.分区Leader选举策略有几种?](https://zwmst.com/538.html) [6.consumer_offsets是做什么用的?](https://zwmst.com/536.html) [7.Kafka能手动删除消息吗?](https://zwmst.com/534.html) [8.LEO、LSO、AR、ISR、HW都表示什么含义?](https://zwmst.com/532.html) [9.Leader总是-1,怎么破?](https://zwmst.com/530.html) [10.如何估算Kafka集群的机器数量?](https://zwmst.com/528.html) [11.Broker的HeapSize如何设置?](https://zwmst.com/526.html) [12.监控Kafka的框架都有哪些?](https://zwmst.com/524.html) [13.如何设置Kafka能接收的最大消息的大小?](https://zwmst.com/522.html) [14.阐述下Kafka中的领导者副本(LeaderReplica)和追随者副本(FollowerReplica)的区别](https://zwmst.com/520.html) [15.解释下Kafka中位移(offset)的作用](https://zwmst.com/518.html) [16.什么是消费者组?](https://zwmst.com/516.html) [17.kafka如何实现延迟队列?](https://zwmst.com/514.html) [18.Kafka中是怎么体现消息顺序性的?](https://zwmst.com/512.html) [19.为什么Kafka不支持读写分离?](https://zwmst.com/510.html) [20.Kafka中的消息是否会丢失和重复消费?](https://zwmst.com/508.html) [21.kafka的message格式是什么样的?](https://zwmst.com/506.html) [22.如果leadercrash时,ISR为空怎么办?](https://zwmst.com/504.html) [23.kafkaunclean配置代表啥?会对sparkstreaming消费有什么影响?](https://zwmst.com/502.html) [24.kafkaproducer打数据,ack为0,1,-1的时候代表啥,设置-1的时候,什么情况下,leader会认为一条消息commit了](https://zwmst.com/500.html) [25.kafkaproducer如何优化打入速度?](https://zwmst.com/498.html) [26.kafka为什么那么快?](https://zwmst.com/496.html) [27.什么情况下一个broker会从ISR中被踢出去?](https://zwmst.com/494.html) [28.kafkafollower如何与leader同步数据?](https://zwmst.com/492.html) [29.kafka中的zookeeper起到什么作用?可以不用zookeeper么?](https://zwmst.com/490.html) [30.kafka中的broker是干什么的?](https://zwmst.com/488.html) [31.Kafka中的ISR、AR又代表什么?ISR的伸缩又指什么?](https://zwmst.com/486.html) [32.为什么要使用kafka?为什么要使用消息队列?](https://zwmst.com/484.html) ## 五、Linux [1.在Linux下如何指定dns服务器,来解析某个域名?](https://zwmst.com/636.html) [2.设置DNS需要修改哪个配置文件?](https://zwmst.com/634.html) [3.如何禁止服务器被ping?](https://zwmst.com/632.html) [4.用一条命令显示本机eth0网卡的IP地址,不显示其它字符?](https://zwmst.com/630.html) [5.whereis命令](https://zwmst.com/628.html) [6.service命令](https://zwmst.com/626.html) [7.shutdown命令](https://zwmst.com/624.html) [8.rpm命令](https://zwmst.com/622.html) [9.yum命令](https://zwmst.com/620.html) [10.export命令](https://zwmst.com/618.html) [11.unzip命令](https://zwmst.com/616.html) [12.bzip2命令](https://zwmst.com/614.html) [13.gzip命令](https://zwmst.com/612.html) [14.tar命令](https://zwmst.com/610.html) [15.把当前目录下所有后缀名为.txt的文件的权限修改为777?](https://zwmst.com/608.html) [16.xargs命令](https://zwmst.com/606.html) [17.sort命令](https://zwmst.com/604.html) [18.diff命令](https://zwmst.com/602.html) [19.vim命令](https://zwmst.com/600.html) [20.打印/etc/passwd的1到3行?](https://zwmst.com/598.html) [21.awk命令](https://zwmst.com/596.html) [22.打印/etc/ssh/sshd_config的第一百行?](https://zwmst.com/591.html) [23.用sed命令将指定的路径/usr/local/http替换成为/usr/src/local/http?](https://zwmst.com/589.html) [24.sed命令](https://zwmst.com/587.html) [25.grep命令](https://zwmst.com/585.html) [26.tail命令](https://zwmst.com/583.html) [27.cp命令](https://zwmst.com/581.html) [28.mv命令](https://zwmst.com/579.html) [29.rm命令](https://zwmst.com/577.html) [30.df命令](https://zwmst.com/575.html) [31.ls命令](https://zwmst.com/573.html) [32.在整个目录树下查找文件“core”,如发现则无需提示直接删除它们?](https://zwmst.com/571.html) [33.如何在home目录下找出120天之前被修改过的文件?](https://zwmst.com/569.html) [34.如何在var目录下找出90天之内未被访问过的文件?](https://zwmst.com/567.html) [35.如何在usr目录下找出大小超过10MB的文件?](https://zwmst.com/565.html) [36.find命令如何使用?](https://zwmst.com/563.html) [37.vim有几种工作模式?](https://zwmst.com/561.html) ## 六、Mybatis [1.Mybatis的一级、二级缓存](https://zwmst.com/1793.html) [2.Mybatis都有哪些Executor执行器?它们之间的区别是什么?](https://zwmst.com/1791.html) [3.Mybatis是否支持延迟加载?如果支持,它的实现原理是什么?](https://zwmst.com/1789.html) [4.Mybatis能执行一对一、一对多的关联查询吗?都有哪些实现方式,以及它们之间的区别。](https://zwmst.com/1787.html) [5.Mybatis全局配置文件中有哪些标签?分别代表什么意思?](https://zwmst.com/1785.html) [6.说一下resultMap和resultType?](https://zwmst.com/1783.html) [7.Mybatis动态SQL?](https://zwmst.com/1781.html) [8.Mybatis的Xml映射文件中,不同的Xml映射文件,id是否可以重复?](https://zwmst.com/1779.html) [9.如何获取自动生成的(主)键值?](https://zwmst.com/1777.html) [10.Mybatis是如何将sql执行结果封装为目标对象并返回的?都有哪些映射形式?](https://zwmst.com/1775.html) [11.当实体类的属性名和表种字段名不一致怎么办?](https://zwmst.com/1773.html) [12.#{}和${}的区别是什么?](https://zwmst.com/1771.html) [13.Mybatis使用场合?](https://zwmst.com/1768.html) [14.Mybatis的优缺点?](https://zwmst.com/1766.html) [15.什么是Mybatis?](https://zwmst.com/1763.html) ## 七、MySQL [1.解释MySQL外连接、内连接与自连接的区别](https://zwmst.com/735.html) [2.Mysql如何优化DISTINCT?](https://zwmst.com/733.html) [3.自增主键最大ID记录,MyISAM和InnoDB分别是如何存储的](https://zwmst.com/731.html) [4.MySQL主从复制原理流程](https://zwmst.com/729.html) [5.delete、truncate、drop区别](https://zwmst.com/727.html) [6.key和index的区别](https://zwmst.com/725.html) [7.MySQL优化](https://zwmst.com/723.html) [8.行级锁定的缺点](https://zwmst.com/721.html) [9.行级锁定的优点](https://zwmst.com/719.html) [10.在MVCC并发控制中,读操作可以分成哪几类?](https://zwmst.com/717.html) [11.MVVC了解过吗](https://zwmst.com/715.html) [12.表分区有什么好处?](https://zwmst.com/713.html) [13.表分区与分表的区别](https://zwmst.com/711.html) [14.什么是表分区?](https://zwmst.com/709.html) [15.什么情况下应不建或少建索引](https://zwmst.com/707.html) [16.说一说三个范式](https://zwmst.com/705.html) [17.什么是存储过程?有哪些优缺点?](https://zwmst.com/703.html) [18.关心过业务系统里面的sql耗时吗?统计过慢查询吗?对慢查询都怎么优化过?](https://zwmst.com/701.html) [19.超大分页怎么处理?](https://zwmst.com/699.html) [20.MySQL的binlog有有几种录入格式?分别有什么区别?](https://zwmst.com/697.html) [21.varchar(10)和int(10)代表什么含义?](https://zwmst.com/695.html) [22.如果要存储用户的密码散列,应该使用什么字段进行存储?](https://zwmst.com/693.html) [23.字段为什么要求定义为notnull?](https://zwmst.com/691.html) [24.主键使用自增ID还是UUID?](https://zwmst.com/689.html) [25.为什么要尽量设定一个主键?](https://zwmst.com/687.html) [26.在哪些情况下会发生针对该列创建了索引但是在查询的时候并没有使用呢?](https://zwmst.com/685.html) [27.MySQL有哪些日志,分别是什么用处?](https://zwmst.com/683.html) [28.MySQL中varchar与char的区别以及varchar(50)中的50代表的涵义](https://zwmst.com/681.html) [29.MySQL的redo日志的刷盘时机](https://zwmst.com/679.html) [30.MySQL的redo日志和undo日志分别有什么用?](https://zwmst.com/677.html) [31.为什么InnoDB一定会生成主键?](https://zwmst.com/675.html) [32.InnoDB如果没有设置主键的话,它内部会怎么处理?](https://zwmst.com/673.html) [33.InnoDB删除某条记录后,内部会怎么处理?](https://zwmst.com/671.html) [34.InnoDB主键索引跟非主键索引在数据存储上的差异](https://zwmst.com/669.html) [35.InnoDB的数据是怎么存储的?](https://zwmst.com/667.html) [36.MyIsam的数据是怎么存储的?](https://zwmst.com/665.html) [37.InnoDB有聚簇索引吗?MyIsam呢?](https://zwmst.com/663.html) [38.什么是聚簇索引?](https://zwmst.com/661.html) [39.MySQL索引的类型](https://zwmst.com/659.html) [40.有了解过“回表”的概念吗?什么情况下会出现“回表”?](https://zwmst.com/657.html) [41.事务的隔离级别了解过吗?](https://zwmst.com/655.html) [42.说一下什么是事务的ACID属性吧](https://zwmst.com/653.html) [43.了解过哪些存储引擎?各有什么优缺点?](https://zwmst.com/651.html) [44.在建立索引的时候,都有哪些需要考虑的因素呢?](https://zwmst.com/649.html) [45.Hash索引和B+树索引有什么区别或者说优劣呢?](https://zwmst.com/647.html) [46.索引是个什么样的数据结构呢?](https://zwmst.com/643.html) [47.什么是索引?](https://zwmst.com/639.html) ## 八、Netty [1.Netty高性能体现在哪些方面?](https://zwmst.com/762.html) [2.说说Netty的执行流程?](https://zwmst.com/760.html) [3.Netty 支持哪些心跳类型设置?](https://zwmst.com/758.html) [4.Netty 发送消息有几种方式?](https://zwmst.com/756.html) [5.Netty 中有哪些重要组件?](https://zwmst.com/754.html) [6.Netty 的心跳机制了解么?](https://zwmst.com/752.html) [7.Netty 的零拷贝了解么?](https://zwmst.com/750.html) [8.Netty 的应用场景了解么?](https://zwmst.com/748.html) [9.为什么要用 Netty?](https://zwmst.com/746.html) [10.Netty 是什么?](https://zwmst.com/744.html) [11.UDP协议会有粘包拆包的问题吗?为什么?](https://zwmst.com/742.html) [12.了解过粘包拆包吗?为什么会出现粘包拆包?怎么处理粘包拆包?](https://zwmst.com/740.html) [13.什么是Reactor模型?Reactor的3种版本都知道吗?](https://zwmst.com/738.html) ## 九、RabbitMQ [1.vhost 是什么?起什么作用?](https://zwmst.com/1823.html) [2.RabbitMQ 有几种广播类型?](https://zwmst.com/1821.html) [3.要保证消息持久化成功的条件有哪些?](https://zwmst.com/1819.html) [4.如何确保消息正确地发送至RabbitMQ?如何确保消息接收方消费了消息?](https://zwmst.com/1817.html) [5.RabbitMQ有哪些重要的角色?](https://zwmst.com/1815.html) [6.RabbitMQ的使用场景有哪些?](https://zwmst.com/1813.html) [7.RabbitMQ 怎么避免消息丢失?](https://zwmst.com/1811.html) [8.RabbitMQ 的消息是怎么发送的?](https://zwmst.com/1809.html) [9.若cluster中拥有某个queue的owner node失效了,且该queue 被声明具有 durable属性,是否能够成功从其他node上重新声明该 queue ?](https://zwmst.com/1807.html) [10.客户端连接到cluster中的任意node上是否都能正常工作?](https://zwmst.com/1805.html) [11.在单node系统和多node构成的cluster系统中声明queue、exchange,以及进行 binding会有什么不同?](https://zwmst.com/1803.html) [12.什么是元数据?元数据分为哪些类型?包括哪些内容?与cluster相关的元数据有哪 些?元数据是如何保存的?元数据在cluster中是如何分布的?](https://zwmst.com/1801.html) [13.RabbitMQ有什么优缺点?](https://zwmst.com/1799.html) [14.什么是RabbitMQ?为什么使用RabbitMQ?](https://zwmst.com/1797.html) [15.死信队列和延迟队列的使用](https://zwmst.com/1835.html) [16.如何避免消息重复投递或重复消费?](https://zwmst.com/1833.html) [17.如何确保消息接收方消费了消息?](https://zwmst.com/1831.html) [18.消息怎么路由?](https://zwmst.com/1829.html) [19.消息如何分发?](https://zwmst.com/1827.html) [20.消息基于什么传输?](https://zwmst.com/1825.html) ## 十、Redis [1.Redis如何做内存优化?](https://zwmst.com/824.html) [2.Redis中的管道有什么用?](https://zwmst.com/822.html) [3.Redis和Redisson有什么关系?](https://zwmst.com/820.html) [4.Redis有哪些适合的场景?](https://zwmst.com/818.html) [5.MySQL 里有 2000w 数据,redis 中只存 20w 的数据,如何保证 redis 中的数据都 是热点数据?](https://zwmst.com/816.html) [6.Redis 集群方案什么情况下会导致整个集群不可用?](https://zwmst.com/814.html) [7.Redis 集群方案应该怎么做?都有哪些方案?](https://zwmst.com/812.html) [8.Redis String的内部编码有哪些?](https://zwmst.com/810.html) [9.用Redis做延时队列,具体应该怎么实现?](https://zwmst.com/808.html) [10.Redis在集群种查找key的时候,是怎么定位到具体节点的?](https://zwmst.com/806.html) [11.Redis的持久化了解过吗?](https://zwmst.com/804.html) [12.Redis在什么情况下会触发key的回收?](https://zwmst.com/802.html) [13.Redis key的淘汰策略有哪些?](https://zwmst.com/800.html) [14.Redis事务机制了解过吗?](https://zwmst.com/798.html) [15.使用Redis统计网站的UV,应该怎么做?](https://zwmst.com/796.html) [16.Redis中的大key怎么处理?](https://zwmst.com/794.html) [17.Redis中的热key怎么处理?](https://zwmst.com/792.html) [18.缓存失效?缓存穿透?缓存雪崩?缓存并发?](https://zwmst.com/790.html) [19.Redis集群如何选择数据库?](https://zwmst.com/788.html) [20.Redis如何设置密码及验证密码?](https://zwmst.com/786.html) [21.为什么 Redis 需要把所有数据放到内存中?](https://zwmst.com/784.html) [22.Redis 官方为什么不提供 Windows 版本?](https://zwmst.com/782.html) [23.Redis是单线程还是多线程?](https://zwmst.com/780.html) [24.Redis为什么那么快?](https://zwmst.com/777.html) [25.一个字符串类型的值能存储最大容量是多少?](https://zwmst.com/775.html) [26.Redis的全称是什么?](https://zwmst.com/773.html) [27.Redis主要消耗什么物理资源?](https://zwmst.com/771.html) [28.Redis有哪些数据结构?](https://zwmst.com/769.html) [29.Redis相比memcached有哪些优势?](https://zwmst.com/767.html) [30.什么是Redis?简述它的优缺点?](https://zwmst.com/765.html) ## 十一、Spring [1.@Component和@Bean的区别是什么?](https://zwmst.com/1867.html) [2.Spring框架中用到了哪些设计模式?](https://zwmst.com/1865.html) [3.Spring MVC的工作原理了解嘛?](https://zwmst.com/1863.html) [4.Spring中的bean生命周期了解过吗?](https://zwmst.com/1861.html) [5.Bean 工厂和 Application contexts 有什么区别?](https://zwmst.com/1891.html) [6.ApplicationContext通常的实现是什么?](https://zwmst.com/1889.html) [7.Spring AOP 实现原理](https://zwmst.com/1887.html) [8.有哪些不同类型的IOC(依赖注入)?](https://zwmst.com/1885.html) [9.解释自动装配的各种模式?](https://zwmst.com/1883.html) [10.Resource 是如何被查找、加载的?](https://zwmst.com/1881.html) [11.BeanFactory和ApplicationContext有什么区别?](https://zwmst.com/1879.html) [12.Spring 事务底层原理](https://zwmst.com/1877.html) [13.Spring事务中有哪几种事务传播行为?](https://zwmst.com/1875.html) [14.Spring事务中的隔离级别有哪几种?](https://zwmst.com/1873.html) [15.Spring事务管理的方式有几种?](https://zwmst.com/1871.html) [16.将一个类声明为Spring的bean的注解有哪些?](https://zwmst.com/1869.html) [17.Spring中的单例bean的线程安全问题了解吗?](https://zwmst.com/1859.html) [18.Spring中的bean的作用域有哪些?](https://zwmst.com/1857.html) [19.谈谈自己对于Spring AOP的理解](https://zwmst.com/1855.html) [20.Spring AOP和AspectJ AOP有什么区别?](https://zwmst.com/1853.html) [21.谈谈自己对于Spring IOC的理解](https://zwmst.com/1850.html) [22.Spring Boot手动装配有哪几种方式?](https://zwmst.com/1846.html) [23.Spring是怎么解决循环依赖的?](https://zwmst.com/1844.html) [24.Spring由哪些模块组成?](https://zwmst.com/1842.html) [25.使用Spring框架的好处是什么?](https://zwmst.com/1840.html) [26.什么是spring?](https://zwmst.com/1838.html) ## 十二、Spring Boot [1.SpringBoot 2.X有哪些新特性?与1.X有什么区别?](https://zwmst.com/1934.html) [2.保护SpringBoot应用有哪些方法?](https://zwmst.com/1932.html) [3.Spring Boot的核心注解是哪些?他由哪几个注解组成的?](https://zwmst.com/1930.html) [4.Spring Boot中如何解决跨域问题?](https://zwmst.com/1928.html) [5.比较一下Spring Security和Shiro各自的优缺点?](https://zwmst.com/1926.html) [6.如何实现Spring Boot应用程序的安全性?](https://zwmst.com/1924.html) [7.什么是Swagger?你用Spring Boot实现了吗?](https://zwmst.com/1922.html) [8.如何使用配置文件通过 Spring Boot 配置特定环境的配置?](https://zwmst.com/1920.html) [9.如何使用 Spring Boot 部署到不同的服务器?](https://zwmst.com/1918.html) [10.如何在 Spring Boot 中添加通用的 JS 代码?](https://zwmst.com/1916.html) [11.什么是嵌入式服务器?我们为什么要使用嵌入式服务器呢?](https://zwmst.com/1914.html) [12.为什么我们需要 spring-boot-maven-plugin?](https://zwmst.com/1912.html) [13.Spring Initializr 是创建 Spring Boot Projects 的唯一方法吗?](https://zwmst.com/1910.html) [14.怎么使用 Maven 来构建一个 SpringBoot 程序?](https://zwmst.com/1908.html) [15.如何在 Spring Boot 中禁用 Actuator 端点安全性?](https://zwmst.com/1906.html) [16.Spring Boot 中的监视器是什么?](https://zwmst.com/1904.html) [17.如何重新加载 Spring Boot 上的更改,而无需重新启动服务器?](https://zwmst.com/1902.html) [18.Spring 和 SpringBoot 有什么不同?](https://zwmst.com/1900.html) [19.创建一个 Spring Boot Project 的最简单的方法是什么?](https://zwmst.com/1898.html) [20.Spring Boot 有哪些优点?](https://zwmst.com/1896.html) [21.什么是springboot](https://zwmst.com/1894.html) ## 十三、Spring Cloud [1.Eureka和zookeeper都可以提供服务注册与发现的功能,两者的区别](https://zwmst.com/859.html) [2.SpringCloud Config可以实现实时刷新吗?](https://zwmst.com/857.html) [3.什么是 Spring Cloud Bus?](https://zwmst.com/855.html) [4.如何实现动态Zuul网关路由转发?](https://zwmst.com/853.html) [5.ZuulFilter有哪些常用方法?](https://zwmst.com/851.html) [6.什么是服务雪崩效应?](https://zwmst.com/849.html) [7.什么是服务熔断?什么是服务降级?](https://zwmst.com/847.html) [8.什么是zuul?](https://zwmst.com/845.html) [9.说说Eureka的自我保护机制?](https://zwmst.com/843.html) [10.Eureka的工作原理?](https://zwmst.com/841.html) [11.什么是Netflix Feign?它的优点是什么?](https://zwmst.com/839.html) [12.什么是Hystrix断路器?我们需要它吗?](https://zwmst.com/837.html) [13.什么是Hystrix?它如何实现容错?](https://zwmst.com/835.html) [14.Spring Cloud由哪些组件组成?](https://zwmst.com/833.html) [15.服务注册和发现是什么意思?Spring Cloud如何实现?](https://zwmst.com/831.html) [16.使用Spring Cloud有什么优势?](https://zwmst.com/829.html) [17.什么是 Spring Cloud?](https://zwmst.com/827.html) ## 十四、Zookeeper [1.zookeeper负载均衡和nginx负载均衡区别](https://zwmst.com/1992.html) [2.Zookeeper 和 Dubbo 的关系?](https://zwmst.com/1990.html) [3.Zookeeper的典型应用场景](https://zwmst.com/1988.html) [4.ZAB和Paxos算法的联系与区别?](https://zwmst.com/1986.html) [5.Zookeeper对节点的watch监听通知是永久的吗?为什么不是永久的?](https://zwmst.com/1984.html) [6.集群支持动态添加机器吗?](https://zwmst.com/1982.html) [7.集群最少要几台机器,集群规则是怎样的?](https://zwmst.com/1980.html) [8.Zookeeper有哪几种部署模式?](https://zwmst.com/1978.html) [9.zk节点宕机如何处理?](https://zwmst.com/1976.html) [10.分布式集群中为什么会有Master?](https://zwmst.com/1974.html) [11.zookeeper是如何保证事务的顺序一致性的?](https://zwmst.com/1972.html) [12.数据同步](https://zwmst.com/1970.html) [13.Zookeeper 下 Server工作状态](https://zwmst.com/1968.html) [14.服务器角色](https://zwmst.com/1965.html) [15.ACL权限控制机制](https://zwmst.com/1963.html) [16.服务端处理Watcher实现](https://zwmst.com/1961.html) [17.客户端注册Watcher实现](https://zwmst.com/1959.html) [18.Zookeeper Watcher 机制](https://zwmst.com/1957.html) [19.Zookeeper文件系统](https://zwmst.com/1955.html) [20.ZooKeeper提供了什么?](https://zwmst.com/1953.html) [21.ZooKeeper是什么?](https://zwmst.com/1951.html) [22.Zookeeper怎么实现服务注册?](https://zwmst.com/1949.html) [23.Zookeeper Leader选举过程是怎样的?](https://zwmst.com/1947.html) [24.Zookeeper是怎么保证数据一致性的?](https://zwmst.com/1945.html) [25.Zookeeper怎么实现分布式锁?](https://zwmst.com/1943.html) [26.了解过Zookeeper的ZAB协议吗?](https://zwmst.com/1940.html) [27.Zookeeper有哪些节点类型?](https://zwmst.com/1937.html) ## 十五、多线程 [1.你将如何使用thread dump?你将如何分析Thread dump?](https://zwmst.com/951.html) [2.在Java中Lock接口比synchronized块的优势是什么?你需要实现一个高效的缓存, 它允许多个用户读,但只允许一个用户写,以此来保持它的完整性,你会怎样去实现 它?](https://zwmst.com/949.html) [3.高并发、任务执行时间短的业务怎样使用线程池?并发不高、任务执行时间长的业务 怎样使用线程池?并发高、业务执行时间长的业务怎样使用线程池?](https://zwmst.com/947.html) [4.同步方法和同步块,哪个是更好的选择?](https://zwmst.com/945.html) [5.Hashtable的size()方法中明明只有一条语句”return count”,为什么还要做同步?](https://zwmst.com/943.html) [6.Semaphore有什么作用?](https://zwmst.com/941.html) [7.单例模式的线程安全性](https://zwmst.com/939.html) [8.Java中用到的线程调度算法是什么?](https://zwmst.com/935.html) [9.Java中如何获取到线程dump文件](https://zwmst.com/933.html) [10.什么是线程安全?](https://zwmst.com/931.html) [11.线程池都有哪几种工作队列?](https://zwmst.com/929.html) [12.说一说几种常见的线程池及适用场景?](https://zwmst.com/927.html) [13.synchronized 关键字和 volatile 关键字的区别](https://zwmst.com/925.html) [14.什么是线程的阻塞问题?如何解决?](https://zwmst.com/923.html) [15.什么是线程的饥饿问题?如何解决?](https://zwmst.com/921.html) [16.什么是活锁?](https://zwmst.com/919.html) [17.什么是线程安全问题?如何解决?](https://zwmst.com/917.html) [18.为什么我们调用 start() 方法时会执行 run() 方法,为什么我们不能直接调用 run() 方法?](https://zwmst.com/915.html) [19.什么是线程死锁?如何避免死锁?](https://zwmst.com/911.html) [20.并发与并行的区别?](https://zwmst.com/909.html) [21.虚拟机栈和本地方法栈为什么是私有的?](https://zwmst.com/907.html) [22.程序计数器为什么是私有的?](https://zwmst.com/905.html) [23.什么是线程和进程?](https://zwmst.com/902.html) [24.什么是多线程的上下文切换?](https://zwmst.com/900.html) [25.什么是自旋锁?](https://zwmst.com/898.html) [26.AQS支持几种同步方式?](https://zwmst.com/896.html) [27.什么是AQS?](https://zwmst.com/894.html) [28.CAS的问题](https://zwmst.com/892.html) [29.什么是CAS?](https://zwmst.com/890.html) [30.CyclicBarrier和CountDownLatch的区别](https://zwmst.com/888.html) [31.线程池的优点?](https://zwmst.com/886.html) [32.创建线程有哪些方式?](https://zwmst.com/884.html) [33.并发编程三要素?](https://zwmst.com/882.html) [34.什么是悲观锁?什么是乐观锁?](https://zwmst.com/880.html) [35.Java里的线程有哪些状态?](https://zwmst.com/878.html) [36.如何避免“伪共享”?](https://zwmst.com/876.html) [37.“伪共享”出现的原因是什么?](https://zwmst.com/874.html) [38.了解过什么是“伪共享”吗?](https://zwmst.com/872.html) [39.说一下synchronized锁升级过程](https://zwmst.com/870.html) [40.ReentrantLock与synchronized的区别](https://zwmst.com/864.html) [41.说说synchronized的实现原理](https://zwmst.com/862.html) [42.sleep() 方法和 wait() 方法的区别和共同点?](https://zwmst.com/913.html) [43.Thread.sleep(0)的作用是什么?](https://zwmst.com/937.html) ## 十六、分布式 [1.SOA和微服务架构有哪些区别?](https://zwmst.com/984.html) [2.BASE理论了解过吗?](https://zwmst.com/982.html) [3.如何保障请求执行顺序](https://zwmst.com/980.html) [4.分布式系统的接口幂等性设计](https://zwmst.com/978.html) [5.如何设计一个秒杀系统?](https://zwmst.com/976.html) [6.如何防止表单重复提交?](https://zwmst.com/974.html) [7.分布式 Session了解过吗?如何实现?](https://zwmst.com/972.html) [8.正向代理和反向代理的区别](https://zwmst.com/970.html) [9.负载均衡的实现方案有哪些?](https://zwmst.com/968.html) [10.了解过哪些负载均衡算法?](https://zwmst.com/966.html) [11.TCC了解过吗?](https://zwmst.com/964.html) [12.什么是二阶段提交(2PC)?什么是三阶段提交(3PC)?](https://zwmst.com/962.html) [13.分布式事务了解过吗?](https://zwmst.com/960.html) [14.什么是CAP定理?](https://zwmst.com/958.html) [15.雪花算法了解过吗?](https://zwmst.com/955.html) ## 十七、计算机网络 [1.HTTP协议包括哪些请求?](https://zwmst.com/1609.html) [2.在浏览器中输入url地址到显示主页的过程](https://zwmst.com/1607.html) [3.拥塞控制](https://zwmst.com/1605.html) [4.滑动窗口和流量控制](https://zwmst.com/1602.html) [5.TCP为什么要四次挥手](https://zwmst.com/1600.html) [6.TCP建立连接时为什么要传回 SYN](https://zwmst.com/1598.html) [7.为什么TCP要三次握手](https://zwmst.com/1596.html) [8.说一说TCP的三次握手](https://zwmst.com/1594.html) [9.简述ICMP、TFTP、HTTP、NAT、DHCP协议](https://zwmst.com/1592.html) [10.简述ARP地址解析协议工作原理](https://zwmst.com/1590.html) [11.简述IP地址的分类?](https://zwmst.com/1588.html) [12.说一说TCP、IP四层模型](https://zwmst.com/1586.html) [13.你能说一说OSI七层模型?](https://zwmst.com/1584.html) [14.有哪些私有(保留)地址?](https://zwmst.com/1582.html) [15.TCP对应的协议和UDP对应的协议](https://zwmst.com/1580.html) [16.请简述TCP和UDP的区别](https://zwmst.com/1578.html) ## 十八、设计模式 [1.Spring 当中用到了哪些设计模式?](https://zwmst.com/1017.html) [2.Dubbo 源码使用了哪些设计模式?](https://zwmst.com/1015.html) [3.举出一个例子,在这种情况你会更倾向于使用抽象类,而不是接口?](https://zwmst.com/1013.html) [4.工厂模式与抽象工厂模式的区别?](https://zwmst.com/1011.html) [5.给我一个符合开闭原则的设计模式的例子?](https://zwmst.com/1009.html) [6.OOP中的组合、聚合和关联有什么区别?](https://zwmst.com/1007.html) [7.适配器模式和代理模式之间有什么不同?](https://zwmst.com/1004.html) [8.适配器模式与装饰器模式有什么区别?](https://zwmst.com/1002.html) [9.适配器模式是什么?什么时候使用?](https://zwmst.com/1000.html) [10.简述一下你了解的 Java 设计模式(总结)](https://zwmst.com/998.html) [11.说说你所熟悉或听说过的 j2ee 中的几种常用模式?](https://zwmst.com/996.html) [12.设计模式的类型](https://zwmst.com/994.html) [13.Java怎么实现单例模式?](https://zwmst.com/991.html) [14.设计模式六大原则?](https://zwmst.com/989.html) [15.接口是什么?为什么要使用接口而不是直接使用具体类?](https://zwmst.com/987.html) ## 十九、数据结构与算法 [1.谈一谈,id全局唯一且自增,如何实现?](https://zwmst.com/1044.html) [2.什么是B+树?](https://zwmst.com/1042.html) [3.什么是B树?](https://zwmst.com/1040.html) [4.为什么要设计后缀表达式,有什么好处?](https://zwmst.com/1038.html) [5.请你讲讲LRU算法的实现原理?](https://zwmst.com/1036.html) [6.如何在一个1到100的整数数组中找到丢失的数字?](https://zwmst.com/1034.html) [7.二分查找了解过吗?](https://zwmst.com/1032.html) [8.数组和链表的区别](https://zwmst.com/1030.html) [9.介绍一下,堆排序的原理是什么?](https://zwmst.com/1028.html) [10.如何知道二叉树的深度?](https://zwmst.com/1026.html) [11.TreeMap和TreeSet在排序时如何比较元素?Collections工具类中的sort()方法如何 比较元素?](https://zwmst.com/1024.html) [12.什么是算法?](https://zwmst.com/1020.html) ## 二十、微服务 [1.作为服务注册中心,Eureka比Zookeeper好在哪里?](https://zwmst.com/1073.html) [2.Eureka的基本架构是什么?](https://zwmst.com/1071.html) [3.什么是 Eureka服务注册与发现?](https://zwmst.com/1069.html) [4.你所知道的微服务技术栈有哪些?](https://zwmst.com/1067.html) [5.什么是服务熔断,什么是服务降级](https://zwmst.com/1065.html) [6.请谈谈对SpringBoot 和SpringCloud的理解](https://zwmst.com/1063.html) [7.微服务之间是如何通讯的?](https://zwmst.com/1061.html) [8.什么是微服务?](https://zwmst.com/1059.html) [9.Spring Cloud 和dubbo的区别?](https://zwmst.com/1057.html) [10.服务注册和发现是什么意思?Spring Cloud 如何实现?](https://zwmst.com/1055.html) [11.Spring Cloud 解决了哪些问题?](https://zwmst.com/1053.html) [12.单片,SOA 和微服务架构有什么区别?](https://zwmst.com/1051.html) [13.微服务有哪些特点?](https://zwmst.com/1049.html) [14.微服务有哪些优缺点?](https://zwmst.com/1047.html) ## 二十一、消息队列 [1.为什么使用消息队列?](https://zwmst.com/1094.html) [2.如何解决消息队列的延时以及过期失效问题?消息队列满了以后该怎么处理?有几百万 消息持续积压几小时怎么解决?](https://zwmst.com/1092.html) [3.各种MQ的比较](https://zwmst.com/1090.html) [4.消息队列积压怎么办](https://zwmst.com/1088.html) [5.消息如何保证幂等性](https://zwmst.com/1086.html) [6.Kafka的消息是有序的吗?如果保证Kafka消息的顺序性?](https://zwmst.com/1084.html) [7.使用消息队列,如果处理重复消息?](https://zwmst.com/1082.html) [8.使用消息队列,怎么确保消息不丢失?](https://zwmst.com/1080.html) [9.消息队列的弊端有哪些?](https://zwmst.com/1078.html) [10.消息队列有哪些应用场景?](https://zwmst.com/1076.html) ## 二十二、Docker [1.在 非 Linux 操作系统平台上如何运行 Docker ?](https://zwmst.com/1137.html) [2.在 Windows 系统上可以运行原生的 Docker 容器吗?](https://zwmst.com/1135.html) [3.什么是孤儿卷及如何删除它?](https://zwmst.com/1133.html) [4.在使用 Docker 技术的产品中如何监控其运行](https://zwmst.com/1131.html) [5.Docker 群(Swarm)是什么](https://zwmst.com/1129.html) [6.如何临时退出一个正在交互的容器的终端,而不终止它?](https://zwmst.com/1127.html) [7.如何清理批量后台停止的容器?](https://zwmst.com/1125.html) [8.如何停止所有正在运行的容器?](https://zwmst.com/1123.html) [9.Docker Image 和 Docker Layer (层) 有什么不同](https://zwmst.com/1121.html) [10.有什么方法确定一个 Docker 容器运行状态](https://zwmst.com/1119.html) [11.如何使用 Docker 技术创建与环境无关的容器系统?](https://zwmst.com/1117.html) [12.启动nginx容器(随机端口映射),并挂载本地文件目录到容器html的命令?](https://zwmst.com/1115.html) [13.容器与主机之间的数据拷贝命令?](https://zwmst.com/1113.html) [14.Docker的常用命令?](https://zwmst.com/1111.html) [15.DockerFile中的命令COPY和ADD命令有什么区别?](https://zwmst.com/1109.html) [16.DockerFile中最常见的指定是什么?](https://zwmst.com/1107.html) [17.Docker容器有几种状态](https://zwmst.com/1105.html) [18.什么是Docker容器](https://zwmst.com/1103.html) [19.什么是Docker镜像](https://zwmst.com/1101.html) [20.Docker与虚拟机有何不同](https://zwmst.com/1099.html) [21.什么是Docker](https://zwmst.com/1097.html) ## 二十三、Dubbo [1.说说 Dubbo 服务暴露的过程。](https://zwmst.com/1193.html) [2.Dubbo的管理控制台能做什么?](https://zwmst.com/1191.html) [3.Dubbo必须依赖的包有哪些?](https://zwmst.com/1189.html) [4.服务读写推荐的容错策略是怎样的?](https://zwmst.com/1187.html) [5.如何解决服务调用链过长的问题?](https://zwmst.com/1185.html) [6.服务提供者能实现失效踢出是什么原理?](https://zwmst.com/1183.html) [7.Dubbo如何优雅停机?](https://zwmst.com/1181.html) [8.Dubbo支持服务降级吗?](https://zwmst.com/1179.html) [9.Dubbo支持分布式事务吗?](https://zwmst.com/1177.html) [10.Dubbo服务之间的调用是阻塞的吗?](https://zwmst.com/1175.html) [11.Dubbo可以对结果进行缓存吗?](https://zwmst.com/1173.html) [12.服务上线怎么兼容旧版本?](https://zwmst.com/1171.html) [13.当一个服务接口有多种实现时怎么做?](https://zwmst.com/1169.html) [14.Dubbo支持服务多协议吗?](https://zwmst.com/1167.html) [15.注册了多个同一样的服务,如果测试指定的某一个服务呢?](https://zwmst.com/1165.html) [16.Dubbo默认使用的是什么通信框架,还有别的选择吗?](https://zwmst.com/1163.html) [17.Dubbo推荐使用什么序列化框架,你知道的还有哪些?](https://zwmst.com/1161.html) [18.Dubbo启动时如果依赖的服务不可用会怎样?](https://zwmst.com/1159.html) [19.在 Provider 上可以配置的 Consumer 端的属性有哪些?](https://zwmst.com/1157.html) [20.Dubbo有哪几种配置方式?](https://zwmst.com/1155.html) [21.Dubbo默认使用什么注册中心,还有别的选择吗?](https://zwmst.com/1153.html) [22.Dubbo内置了哪几种服务容器?](https://zwmst.com/1151.html) [23.Dubbo需要 Web 容器吗?](https://zwmst.com/1149.html) [24.dubbo都支持什么协议,推荐用哪种?](https://zwmst.com/1147.html) [25.Dubbo 和 Dubbox 有什么区别?](https://zwmst.com/1145.html) [26.为什么要用Dubbo?](https://zwmst.com/1143.html) [27.Dubbo是什么?](https://zwmst.com/1141.html) ## 二十四、Elasticsearch [1.如何监控 Elasticsearch 集群状态?](https://zwmst.com/1666.html) [2.在并发情况下,Elasticsearch 如果保证读写一致?](https://zwmst.com/1664.html) [3.对于 GC 方面,在使用 Elasticsearch 时要注意什么?](https://zwmst.com/1662.html) [4.在 Elasticsearch 中,是怎么根据一个词找到对应的倒排索引的?](https://zwmst.com/1660.html) [5.客户端在和集群连接时,如何选择特定的节点执行请求?](https://zwmst.com/1658.html) [6.Elasticsearch 在部署时,对 Linux 的设置有哪些优化方法?](https://zwmst.com/1655.html) [7.说说Elasticsearch常用的调优手段?](https://zwmst.com/1653.html) [8.Elasticsearch中的分析器是什么?](https://zwmst.com/1651.html) [9.Elasticsearch中的倒排索引是什么?](https://zwmst.com/1649.html) [10.什么是ElasticSearch?](https://zwmst.com/1647.html) [11.ElasticSearch中的分片是什么?](https://zwmst.com/1645.html) [12.ElasticSearch中的集群、节点、索引、文档、类型是什么?](https://zwmst.com/1643.html) [13.在并发情况下,Elasticsearch如果保证读写一致?](https://zwmst.com/1640.html) [14.Elasticsearch对于大数据量(上亿量级)的聚合如何实现?](https://zwmst.com/1638.html) [15.详细描述一下Elasticsearch搜索的过程](https://zwmst.com/1636.html) [16.详细描述一下Elasticsearch更新和删除文档的过程](https://zwmst.com/1634.html) [17.详细描述一下Elasticsearch索引文档的过程。](https://zwmst.com/1632.html) [18.Elasticsearch中的节点(比如共20个),其中的10个选了一个master,另外10个选 了另一个master,怎么办?](https://zwmst.com/1630.html) [19.Elasticsearch是如何实现Master选举的?](https://zwmst.com/1628.html) [20.为什么要使用Elasticsearch?](https://zwmst.com/1626.html) ## 二十五、Java8 [1.Lambda表达式的参数列表与Lambda箭头运算符有何不同?](https://zwmst.com/1216.html) [2.是什么使JavaSE8优于其他?](https://zwmst.com/1214.html) [3.什么是Java8中的MetaSpace?它与PermGen Space有何不同?](https://zwmst.com/1212.html) [4.Lambda函数的优点](https://zwmst.com/1210.html) [5.什么是Lambda表达式?](https://zwmst.com/1208.html) [6.解释Java8中间操作与终端操作?](https://zwmst.com/1206.html) [7.hashMap原理,java8做的改变](https://zwmst.com/1204.html) [8.Java8中的可选项是什么?](https://zwmst.com/1202.html) [9.Java8支持函数编程是什么意思?](https://zwmst.com/1200.html) [10.抽象类和接口的异同?](https://zwmst.com/1198.html) [11.Java 8 新特性简介](https://zwmst.com/1196.html) ## 二十六、Java高并发 [1.ForkJoin框架](https://zwmst.com/1709.html) [2.Java里的阻塞队列](https://zwmst.com/1707.html) [3.AQS](https://zwmst.com/1705.html) [4.CopyOnWriteArrayList](https://zwmst.com/1703.html) [5.Nginx多进程模型是如何实现高并发的?](https://zwmst.com/1701.html) [6.常见的同步工具类?](https://zwmst.com/1699.html) [7.常见的并发容器?](https://zwmst.com/1697.html) [8.死锁的避免与诊断?](https://zwmst.com/1695.html) [9.什么是锁顺序死锁?](https://zwmst.com/1693.html) [10.数据库死锁?](https://zwmst.com/1691.html) [11.什么是线程调度器(Thread Scheduler)和时间分片(Time Slicing)?](https://zwmst.com/1689.html) [12.有三个线程T1,T2,T3,怎么确保它们按顺序执行?](https://zwmst.com/1687.html) [13.如何测试并发量?](https://zwmst.com/1685.html) [14.Java中Unsafe类详解](https://zwmst.com/1683.html) [15.进程调度算法](https://zwmst.com/1681.html) [16.同步和异步有何不同,在什么情况下分别使用它们?举例说明](https://zwmst.com/1679.html) [17.线程间如何通讯](https://zwmst.com/1677.html) [18.进程间如何通讯](https://zwmst.com/1675.html) [19.什么是线程](https://zwmst.com/1673.html) [20.什么是进程](https://zwmst.com/1671.html) ## 二十七、Java集合 [1.Iterator是什么?](https://zwmst.com/1738.html) [2.为何Map接口不继承Collection接口?](https://zwmst.com/1736.html) [3.为何Collection不从Cloneable和Serializable接口继承?](https://zwmst.com/1734.html) [4.集合框架中的泛型有什么优点?](https://zwmst.com/1732.html) [5.Java集合框架是什么?说出一些集合框架的优点?](https://zwmst.com/1730.html) [6.谈谈对HashMap 构造方法中初始容量、加载因子的理解](https://zwmst.com/1728.html) [7.HashMap 默认的初始化长度是多少?](https://zwmst.com/1726.html) [8.ArrayList和LinkedList的区别?](https://zwmst.com/1724.html) [9.ArrayList 和 Vector 的区别?](https://zwmst.com/1722.html) [10.ConcurrentHashMap实现原理](https://zwmst.com/1720.html) [11.ConcurrentHashMap和Hashtable的区别?](https://zwmst.com/1718.html) [12.HashMap与HashTable的区别?](https://zwmst.com/1716.html) [13.常见的集合底层实现](https://zwmst.com/1714.html) [14.常见的集合有哪些?](https://zwmst.com/1712.html) [15.Comparable和Comparator接口有何区别?](https://zwmst.com/1760.html) [16.Collections类是什么?](https://zwmst.com/1758.html) [17.队列和栈是什么,列出它们的区别?](https://zwmst.com/1756.html) [18.BlockingQueue是什么?](https://zwmst.com/1754.html) [19.哪些集合类提供对元素的随机访问?](https://zwmst.com/1752.html) [20.如何决定选用HashMap还是TreeMap?](https://zwmst.com/1750.html) [21.我们能否使用任何类作为Map的key?](https://zwmst.com/1748.html) [22.hashCode()和equals()方法有何重要性?](https://zwmst.com/1746.html) [23.fail-fast与fail-safe有什么区别?](https://zwmst.com/1744.html) [24.Iterater和ListIterator之间有什么区别?](https://zwmst.com/1742.html) [25.Enumeration和Iterator接口的区别?](https://zwmst.com/1740.html) ## 二十八、Jenkins [1.什么是Blue Ocean](https://zwmst.com/1238.html) [2.什么是jenkinsfile?为什么使用jenkinsfile](https://zwmst.com/1235.html) [3.如何通过Jenkins克隆Git存储库?](https://zwmst.com/1233.html) [4.如何在Jenkins中创建备份和复制文件?](https://zwmst.com/1231.html) [5.可以使用哪些命令手动启动Jenkins?](https://zwmst.com/1229.html) [6.Jenkins的优势是什么?](https://zwmst.com/1227.html) [7.在Jenkins中, 什么是持续集成?](https://zwmst.com/1225.html) [8.Maven, Ant和Jenkins有什么区别?](https://zwmst.com/1221.html) [9.什么是Jenkins?](https://zwmst.com/1219.html) ## 二十九、Kubernetes [1.Replica Set 和 Replication Controller之间有什么区别?](https://zwmst.com/1282.html) [2.什么是Container资源监控?](https://zwmst.com/1280.html) [3.您对云控制器管理器有何了解?](https://zwmst.com/1278.html) [4.什么是Ingress网络,它是如何工作的?](https://zwmst.com/1276.html) [5.你对Kubernetes的负载均衡器有什么了解?](https://zwmst.com/1274.html) [6.什么是etcd?](https://zwmst.com/1272.html) [7.你能简要介绍一下Kubernetes控制管理器吗?](https://zwmst.com/1270.html) [8.kube-apiserver和kube-scheduler的作用是什么?](https://zwmst.com/1268.html) [9.您能否介绍一下Kubernetes中主节点的工作情况?](https://zwmst.com/1266.html) [10.你对Kube-proxy有什么了解?](https://zwmst.com/1264.html) [11.Kubernetes Architecture的不同组件有哪些?](https://zwmst.com/1262.html) [12.什么是Kubelet?](https://zwmst.com/1260.html) [13.什么是Kubectl?](https://zwmst.com/1257.html) [14.什么是Minikube?](https://zwmst.com/1253.html) [15.什么是Heapster?](https://zwmst.com/1251.html) [16.什么是Google容器引擎?](https://zwmst.com/1249.html) [17.Kubernetes如何简化容器化部署?](https://zwmst.com/1247.html) [18.什么是Container Orchestration?](https://zwmst.com/1245.html) [19.Kubernetes与Docker有什么关系?](https://zwmst.com/1243.html) [20.什么是Kubernetes?](https://zwmst.com/1241.html) ## 三十、Maven [1.依赖的解析机制](https://zwmst.com/1314.html) [2.Maven依赖冲突](https://zwmst.com/1312.html) [3.什么是 Maven 插件?](https://zwmst.com/1310.html) [4.如何解决 jar 冲突?](https://zwmst.com/1308.html) [5.Maven 依赖原则?](https://zwmst.com/1306.html) [6.对于一个多模块项目,如果管理项目依赖的版本?](https://zwmst.com/1304.html) [7.Maven 版本规则?](https://zwmst.com/1302.html) [8.Maven 有哪些优点和缺点](https://zwmst.com/1300.html) [9.Maven 常用命令](https://zwmst.com/1298.html) [10.Maven 规约是什么?](https://zwmst.com/1296.html) [11.你们项目为什么选用 Maven 进行构建?](https://zwmst.com/1294.html) [12.Maven的⽣命周期](https://zwmst.com/1292.html) [13.Maven的坐标和依赖](https://zwmst.com/1290.html) [14.使用Maven好处](https://zwmst.com/1288.html) [15.maven是什么?](https://zwmst.com/1286.html) ## 三十一、MongoDB [1.为什么MongoDB的数据文件很大?](https://zwmst.com/1575.html) [2.如何理解MongoDB中的GridFS机制,MongoDB为何使用GridFS来存储文件?](https://zwmst.com/1573.html) [3.在MongoDB中什么是副本集](https://zwmst.com/1571.html) [4.MongoDB支持存储过程吗?如果支持的话,怎么用?](https://zwmst.com/1569.html) [5.在MongoDb中什么是索引](https://zwmst.com/1567.html) [6.“ObjectID”有哪些部分组成](https://zwmst.com/1565.html) [7.为什么在MongoDB中使用”Object ID”数据类型](https://zwmst.com/1563.html) [8.为什么要在MongoDB中用”Regular Expression”数据类型](https://zwmst.com/1561.html) [9.为什么要在MongoDB中用”Code”数据类型](https://zwmst.com/1559.html) [10.MongoDB支持哪些数据类型](https://zwmst.com/1557.html) [11.MongoDB支持主键外键关系吗](https://zwmst.com/1555.html) [12.为什么要在MongoDB中使用分析器](https://zwmst.com/1553.html) [13.MongoDB中的分片什么意思](https://zwmst.com/1551.html) [14.MongoDB中的命名空间是什么意思?](https://zwmst.com/1549.html) [15.为什么用MOngoDB?](https://zwmst.com/1547.html) [16.在哪些场景使用MongoDB](https://zwmst.com/1545.html) [17.什么是文档(记录)](https://zwmst.com/1543.html) [18.什么是集合(表)?](https://zwmst.com/1541.html) [19.MongoDB的优势有哪些](https://zwmst.com/1539.html) [20.什么是MongoDB?](https://zwmst.com/1537.html) ## 三十二、Mycat [1.你们项目中分片的实现方式是什么?](https://zwmst.com/1531.html) [2.配置文件不会变多,配置的节点主机会变多?](https://zwmst.com/1529.html) [3.Mycat的在分库分表之后,它是怎么支持联表查询的?](https://zwmst.com/1527.html) [4.Mycat中全局ID方案有哪些?程序自定义全局ID的方案有哪些?](https://zwmst.com/1525.html) [5.进行库表拆分时,拆分规则怎么取舍?](https://zwmst.com/1523.html) [6.mycat分库可以分成100个库吗?](https://zwmst.com/1521.html) [7.搭建mycat的核心配置文件有哪些?](https://zwmst.com/1519.html) [8.在项目组中,切分后的库从哪里而来?](https://zwmst.com/1517.html) [9.什么叫混合切分](https://zwmst.com/1515.html) [10.Mycat是什么?](https://zwmst.com/1513.html) ## 三十三、Nginx [1.请陈述stub_status和sub_filter指令的作用是什么?](https://zwmst.com/1510.html) [2.Nginx 常用配置?](https://zwmst.com/1508.html) [3.Nginx 常用命令?](https://zwmst.com/1506.html) [4.fastcgi 与 cgi 的区别?](https://zwmst.com/1504.html) [5.ngx_http_upstream_module的作用是什么?](https://zwmst.com/1502.html) [6.在Nginx中如何在URL中保留双斜线?](https://zwmst.com/1500.html) [7.在Nginx中,如何使用未定义的服务器名称来阻止处理请求?](https://zwmst.com/1498.html) [8.请解释Nginx如何处理HTTP请求。](https://zwmst.com/1496.html) [9.列举Nginx服务器的最佳用途。](https://zwmst.com/1494.html) [10.使用“反向代理服务器”的优点是什么?](https://zwmst.com/1492.html) [11.Nginx应用场景?](https://zwmst.com/1490.html) [12.Nginx的优缺点?](https://zwmst.com/1488.html) [13.Nginx怎么处理请求的?](https://zwmst.com/1486.html) [14.为什么要用Nginx?](https://zwmst.com/1484.html) [15.请解释一下什么是 Nginx ?](https://zwmst.com/1482.html) ## 三十四、RocketMQ [1.任何一台Broker突然宕机了怎么办?](https://zwmst.com/1479.html) [2.再说说RocketMQ 是如何保证数据的高容错性的?](https://zwmst.com/1477.html) [3.高吞吐量下如何优化生产者和消费者的性能?](https://zwmst.com/1475.html) [4.如果让你来动手实现一个分布式消息中间件,整体架构你会如何设计实现?](https://zwmst.com/1473.html) [5.RocketMQ在分布式事务支持这块机制的底层原理?](https://zwmst.com/1471.html) [6.rocketMQ的消息堆积如何处理](https://zwmst.com/1469.html) [7.RocketMQ如何保证消息不丢失?](https://zwmst.com/1467.html) [8.如何让RocketMQ保证消息的顺序消费?](https://zwmst.com/1465.html) [9.消息重复消费如何解决?](https://zwmst.com/1463.html) [10.RocketMQ如何做负载均衡?](https://zwmst.com/1461.html) [11.broker如何处理拉取请求的?](https://zwmst.com/1459.html) [12.消费消息是push还是pull?](https://zwmst.com/1457.html) [13.RocketMQ消费模式有几种?](https://zwmst.com/1455.html) [14.RocketMQ Broker中的消息被消费后会立即删除吗?](https://zwmst.com/1453.html) [15.RocketMQ中的Topic和JMS的queue有什么区别?](https://zwmst.com/1451.html) ## 三十五、Servlet [1.init(ServletConfig)方法与异常](https://zwmst.com/1448.html) [2.init(ServletConfig)方法执行次数](https://zwmst.com/1446.html) [3.如何读取Servlet的初始化参数?](https://zwmst.com/1444.html) [4.如何配置Servlet的初始化参数?](https://zwmst.com/1442.html) [5.Request对象的主要方法](https://zwmst.com/1440.html) [6.四种会话跟踪技术](https://zwmst.com/1438.html) [7.页面间对象传递的方法](https://zwmst.com/1436.html) [8.什么情况下调用doGet()和doPost()?](https://zwmst.com/1434.html) [9.Servlet的基本架构](https://zwmst.com/1432.html) [10.Servlet和JSP的区别?](https://zwmst.com/1430.html) [11.Servlet的生命周期?](https://zwmst.com/1428.html) ## 三十六、Shiro [1.Session Manager 会话管理介绍一下](https://zwmst.com/1424.html) [2.shiro拦截器的执行流程](https://zwmst.com/1422.html) [3.Realm 域如何使用?](https://zwmst.com/1420.html) [4.Cryptography 加密的过程是这样的?](https://zwmst.com/1418.html) [5.Authorization 授权的方式和流程是怎样的?](https://zwmst.com/1416.html) [6.说下Authentication 身份验证的流程](https://zwmst.com/1414.html) [7.Shiro有哪些组件?](https://zwmst.com/1412.html) [8.Shiro的优点](https://zwmst.com/1410.html) [9.解释下Shiro的核心概念:Subject、SecurityManager、Realm](https://zwmst.com/1408.html) [10.什么是shiro](https://zwmst.com/1406.html) ## 三十七、Tomcat [1.Tomcat一个请求的完整过程](https://zwmst.com/1403.html) [2.如何添加JMS远程监控](https://zwmst.com/1401.html) [3.tomcat共享session如何处理?](https://zwmst.com/1399.html) [4.tomcat垃圾回收策略调优了解吗?](https://zwmst.com/1397.html) [5.tomcat内存调优了解过吗?](https://zwmst.com/1395.html) [6.tomcat 如何优化?](https://zwmst.com/1393.html) [7.tomcat容器是如何创建servlet类实例?用到了什么原理?](https://zwmst.com/1391.html) [8.Tomcat有几种部署方式?](https://zwmst.com/1389.html) [9.tomcat 有哪几种Connector 运行模式(优化)?](https://zwmst.com/1387.html) [10.Tomcat的缺省端口是多少,怎么修改?](https://zwmst.com/1385.html) ## 三十八、编译原理 [1.全局优化](https://zwmst.com/1380.html) [2.有穷自动机(有限自动机)](https://zwmst.com/1378.html) [3.出错处理](https://zwmst.com/1376.html) [4.表格管理程序](https://zwmst.com/1374.html) [5.目标代码生成](https://zwmst.com/1372.html) [6.中间代码生成](https://zwmst.com/1370.html) [7.语义分析](https://zwmst.com/1368.html) [8.语法分析](https://zwmst.com/1366.html) [9.词法分析](https://zwmst.com/1364.html) ## 三十九、操作系统 [1.守护、僵尸、孤儿进程的概念](https://zwmst.com/1361.html) [2.系统调用与库函数的区别](https://zwmst.com/1359.html) [3.内部碎片与外部碎片分别是什么?](https://zwmst.com/1357.html) [4.用户态和核心态(内核态)之间的区别是什么呢?](https://zwmst.com/1355.html) [5.用户态切换到内核态的方式有哪些?](https://zwmst.com/1353.html) [6.中断与系统调用了解吗?](https://zwmst.com/1351.html) [7.页面置换算法了解多少?](https://zwmst.com/1349.html) [8.说下对虚拟内存的理解](https://zwmst.com/1347.html) [9.动态链接库与静态链接库的区别](https://zwmst.com/1345.html) [10.介绍一下内存池、进程池、线程池](https://zwmst.com/1343.html) [11.什么是临界资源](https://zwmst.com/1341.html) [12.如何处理死锁问题](https://zwmst.com/1338.html) [13.死锁出现的条件?](https://zwmst.com/1336.html) [14.一个程序从开始运行到结束的完整过程(四个过程)](https://zwmst.com/1334.html) [15.说下你知道的调度算法](https://zwmst.com/1332.html) [16.非抢占式调度与抢占式调度的区别是什么?](https://zwmst.com/1330.html) [17.进程调度的种类有哪些?](https://zwmst.com/1328.html) [18.进程的通信方式有哪些](https://zwmst.com/1326.html) [19.说下你对进程同步的理解](https://zwmst.com/1324.html) [20.为什么进程上下文切换比线程上下文切换代价高?](https://zwmst.com/1322.html) [21.说下进程和线程的联系与区别](https://zwmst.com/1320.html) [22.说下进程的状态](https://zwmst.com/1318.html)