Answer:
a. True
b. False
Step-by-step explanation:
Constructor is used to initialize the object of the class.
Rules of constructor:
1. Constructor name must same as the class name. it means, if the class name is animalType, then constructor name must be animalType.
2. Constructor does not have any return type. it means, it does not return anythings.
Therefore, part (a) is true, Constructor name must same as the class name.
and part (b) is false, because constructor does not have any return type.