OOP-Klass模型 简略
阅读原文时间:2023年07月08日阅读:3

class Model
{
public static int a = 1;
public int b;

public Model(int b) {  
    this.b = b;  
}  

}

public static void main(String[] args) {
int c = 10;
Model modelA = new Model(2);
Model modelB = new Model(3);
}