Question: Choose the correct answer Java provides a special class member method, known as a constructor A constructor is called when an object of that class
Choose the correct answer
| Java provides a special class member method, known as a constructor | ||
| A constructor is called when an object of that class type is created, and which can be used to initialize all fields | ||
| The constructor has the same name as the class. | ||
| All of the above |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
