default-constructor tag

1 questions


1 answers
97 views
0
Why do you define a constructor with parameters and the default constructor without parameters disappears?

If you create a constructor with parameters in C#, C++, and Java, the default constructor without parameters disappears.Before, I thought it was just like that, but I suddenly became curious about why...


© 2024 OneMinuteCode. All rights reserved.