class Okex {
public:
    int poolSize;
    int poolSize1;
    int poolSize2;
}

1

Okex::Okex() {
    poolSize = 10;
    poolSize1 = 15;
    poolSize2 = 100;
}

2

Okex::Okex() {
    initPoolSizes();
}

void Okex::initPoolSizes() {
    poolSize = 10;
    poolSize1 = 15;
    poolSize2 = 100;
}

3

Okex::Okex(int size1 = 10, int size2 = 15, int size3 = 100) {
    poolSize = size1;
    poolSize1 = size2;
    poolSize2 = size3;
}

4

Okex::Okex() : poolSize(10),poolSize1(15),poolSize2(100) {
}
12-30 04:52