A race boat has two engines and a fiberglass body. For thisquestion, you will use Java to create and use a race boat class asfollows:
1- Create a class calledEngine. This class has three private instancevariables called torque,weight, both of typedouble and class of typeString
For theEngine class dothe following:
a) Write two constructors for theEngineclass as follows:
– A default constructor that sets the class instance variablesto zero or null;
– A constructor that receives two double values and a String asparameters and uses them to set the values of the instancevariables.
b) Write a copy constructor for the Engine class.
c) Write the set and
OR
OR