C# Programmer
Budget: $10 – $30 USD
Update ciass Vehicie:
the overloaded constructor must now be updated:
if engine is not aull, instantiate Engine with the appropriate constructor
if engine is null, instantiate Englne with the default constructor
NO other changes are allowed in this class.
2.2 Update ciass Car:
the overloaded constructor must now be updated:
if engine is not naii, instantiate Engine with the appropriate constructor
if engine is null, instantiate Engine with the defaulit constructor
implement ICloneab le and start by reusing the overloaded constructor and one
other property (there is only one correcf property that must be used)
NO other changes are allowed in this class.
2.3 Update ciass Truck:
the overloaded constructor must now be updated:
if engine is not null, instantiate Engine with the appropriate constructor
if engine is null, instantiate Engine with the defauit construcior
implement ICloneable and start by reusing the overloaded constructor
NO other changes are allowed in this class.
the overloaded constructor must now be updated:
if engine is not aull, instantiate Engine with the appropriate constructor
if engine is null, instantiate Englne with the default constructor
NO other changes are allowed in this class.
2.2 Update ciass Car:
the overloaded constructor must now be updated:
if engine is not naii, instantiate Engine with the appropriate constructor
if engine is null, instantiate Engine with the defaulit constructor
implement ICloneab le and start by reusing the overloaded constructor and one
other property (there is only one correcf property that must be used)
NO other changes are allowed in this class.
2.3 Update ciass Truck:
the overloaded constructor must now be updated:
if engine is not null, instantiate Engine with the appropriate constructor
if engine is null, instantiate Engine with the defauit construcior
implement ICloneable and start by reusing the overloaded constructor
NO other changes are allowed in this class.