A constructor is a method that initializes an object immediately upon creation. It has the same name as that of class in which it resides.
Previous Question Next Question
Your comments will be displayed only after manual approval.