what is a constructor in java
Answers
Answered by
0
Answer:
a constructor in java is a special method that is used to initialize objects
the constructor is called when the object of a class is created.
please follow me
hope it helps u.
Answered by
4
Answer:
A constructor. in Java is a special method that is used to initialize objects. The constructor is called when an object of class is created.
Similar questions