联奕一面:
1、这段代码的输出结果是多少?t q z
package com.smart.community.test;
public class Test {
public class B{
static {
System.out.println("t");
}
public B(){
System.out.println("z");
}
}
public class A extends B{
static {
System.out.println("q");
}
public A(){
System.out.println("w");
}
}
public static void main(String[] args) {
B a = new A();
}
}
2、Kafka、ActiveMQ、RocketMQ和RabbitMQ的区别
3、RocketMQ的推拉模式
推模式:每次producer每次生产了消息,会主