Constructors (contd.)
You don’t have to define a constructor if you need only a default constructor.
When you want initializing constructors :
1. you must include a default constructor in this case.
2. You will use initializing constructors when you want the object to start with a specific initial state rather than as default state.
3. Example: Car myCar(Red); // initializing constructor for Car class with color as parameter