Computer Science, asked by Anurag9555, 1 day ago

Working Of Instructor In Java??​

Answers

Answered by sakash20207
1

In Java, the constructor is similar to the method. The property of the constructor is that it must have the same name as the class name. It has no return type.We use constructors to initialize the object with the default or initial state.

Similar questions