1. 输出结果是多少? public class A { public static int a=1; } class B{ public static void main(String[] args) { A a1 = new A(); a1.a++; A a2 = new A(); a2.a++; A.a++; System.out.println(A.a); } } 答案:4,静态变量只有一份,共享. 2. mysql中sum和count的区别? sum是记录列的和的,...