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
Biology,
25 days ago
Chemistry,
25 days ago
Computer Science,
1 month ago
Physics,
1 month ago
Social Sciences,
9 months ago
English,
9 months ago