The learning class is thinking - it can also assign a value to the int type.

xiaoxiao2021-03-05  17

What is the class? Natural world is built on the class. Reflects the unity of syndrome and relative different sex. But the character of the person is inherited from the class, so the data object is relatively independent.

From INT A = B; we think that the type of initialization parameter can also be represented as described above. Such as the constructor of Student (int IDnum) can be initialized in initialization; and this class has an initialization mode: student as (12); thereby we don't want to think of the variable INT N (12) can be used when the value is evaluated; this is a little experience in reading constructive functions. Share with you.

转载请注明原文地址:https://www.9cbs.com/read-39358.html

New Post(0)