Static & Const 发表于2017年3月21日由aichiao Static : 类外面来赋值 int A::n = 3; Const: 参数化列表来进行赋值 A(int a,int b ):y(b)