The constructor method is called automatically when you create an instance of the class.