Computer Science, asked by anuj, 1 year ago

What is the purpose of default constructor?

Answers

Answered by CyberAkay
2
Dear friend,
Kindly mark the answer as brainliest if you find it useful.

Here's what you were looking for:

The default constructor comes into picture when you don't provide any initial value for the object. It's comes handy when you don't want to provide a value or when you want a default value for an object.

Hope this clears your doubt. ✌

Do follow me if the answer was helpful.
Similar questions