A
The requirement now is to create n multivariable in the Create class.
The above notation brings one, code reusability is poor (improve reusability, use function function?) )
My understanding is that the function of this call is to create a lot of the same car, but the video explanation is different. In the video, the function is considered to be a car modification plant, and all the cars are changed to the exact same.
The difference is that the beginning of understanding is wrong, C1,C2 itself is existence, should be defined, now to attribute their attributes to the same. My understanding is to create a lot of cars. → This results in differences in function input.
Car C is a class type of parameters, in fact, has always been a bit curious, class type can not be written as class? Why do you have to write your own definition of the class name? (This is consistent with the previous creation object, car c=new car ())
Data type, the variable name equals the initialization value, and any created variable conforms to this format, regardless of the base data type or the reference data type.
A variable of a class type must point to an object, and if it does not point to an object, it has only one value that can be null.
Watching the video carefully, the functional function seems to be the role of modification, rather than the role of creation.
Java-Preliminary Understanding-sixth-class type parameters