The parent constructor is automatically called when you create a new instance of your child class.
If you explicitly want to change the constructor being called in the parent class, you can do thus by entering : XXX(x,y, etc...) before the opening bracket of your child's constructor (where XXX is the name of the parent class, of course).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.