5. In JAVA, A has a structure assuming Method A (int a), the other is called in the constructor of the class A constructor and sentence format should be ()

In JAVA, A has a structure assuming Method A (int a), the other is called in the constructor of the class A constructor and sentence format should be ()

A.this.A(x)
B.this(x)
C.super(x)
D.A(x)

Option B answers this question

A common option is to call the format method

C option to call the parent class constructor format

D option to call the static method format

Guess you like

Origin blog.csdn.net/QiuBika_061/article/details/90181797