English, asked by patelvasubhai2424, 10 months ago

why is the customer called a.co.constructor?​

Answers

Answered by Anonymous
8

Explanation:

It is called when an instance of the class is created. At the time of calling constructor, memory for the object is allocated in the memory. It is a special type of method which is used to initialize the object. ... It is because java compiler creates a default constructor if your class doesn't have any.

Similar questions