define constructor in java?
Answers
Answered by
1
Answer:
Explanation:
A constructor in Java is a special method that is used to initialize objects. The constructor is called when an object of a class is created.
Answered by
2
Answer:
A constructor in Java is a special method that is used to initialize objects. The constructor is called when an object of a class is created.
Explanation:
i hope it helps you. if yes then please mark my answer as brainliest
Similar questions