Working Of Instructor In Java??
Answers
Answered by
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
English,
19 hours ago
English,
19 hours ago
Computer Science,
1 day ago
Physics,
1 day ago
Social Sciences,
8 months ago
English,
8 months ago