Computer Science, asked by bsujatha576, 5 months ago

mention the disadvantage of default constructor?​

Answers

Answered by Anonymous
9

Answer:

The drawback of a default constructor is that every instance of the class will be initialized to the same values and it is not possible to initialize each instance of the class to different values. The default constructor initializes: All numeric fields in the class to zero. All string and object fields to null.

Explanation:

Answered by vinaysharma58
3

The drawback of a default constructor is that every instance of the class will be initialized to the same values and it is not possible to initialize each instance of the class to different values. The default constructor initializes: All numeric fields in the class to zero. All string and object fields to null.

PLZ MARK ME AS BRAINLIEST!!!!!!!!!!!!!

Similar questions