For example, a default constructor is going to have default attributes with them. These can be things like the size of the room, and how many rooms there are, or what kind of flooring it is, or even the color of the walls. We all have our own personal preference for these settings, but I’ve seen a lot of people start with a general setting, with the idea that this is what they want, and then start adding other parameters.
You can have defaults that are extremely general and not specific to any of your classes or objects, or that are specific to only certain types of objects. This is a really common mistake to make. For example, for a class that has a default constructor, you don’t really have to specify anything about the size of the room, the number of rooms, the type of flooring, or the color of the walls.
By default, a default constructor is quite vague and vague in a way that its size and location don’t really matter. This is especially true since your constructor can be called any number of different times. It can even be called multiple times with different arguments. So, if you create a class that has a default constructor, you dont really have to worry about specifying the exact size of the room, the number of rooms, the type of flooring, or the color of the walls.
This is also why you dont have to specify the exact color of the walls when you create a default constructor. You dont have to specify the exact size of the room, etc. Your only constraint is that it has to be an object. If your constructor isnt an object, then you can specify whatever you want within it.
So you can specify that your constructor should be a function that takes as input a number of parameters and returns an object.
So lets check out what default constructor means. It basically means that you are free to work with whatever you want. Let’s say you have a constructor that takes two ints and returns an object that you can paint. You dont have to worry about the size of the room – you can use whatever size you want. You dont have to specify the depth or the color of your walls. You can just create a room size that you want.
I see this as the opposite of what you are talking about. You want to work with whatever you want.
What is a default constructor? You are talking about a constructor that you are happy to call with parameters. I mean, it’s a constructor that doesn’t have to be a constructor. You can have a constructor that takes one parameter and returns a member in a way that is not a constructor. I mean, if you want a constructor that returns a list of members, you have to do that.
I think the problem is that you are talking about what is called a default constructor. A default constructor is a constructor that is a member of the class. This allows it to be used as a regular member in the class.
This is a typical problem I see with code I write. By default, a class has to have a constructor that takes one parameter. You can’t write a constructor that takes two. You can’t even write a constructor that takes a function. You can’t even write a constructor that takes a function and returns a function that takes two parameters. Now, if you try to write a constructor that takes two parameters then you’re going to have to write two separate constructors, one for each parameter.