Yes I am confused whether the default constructor(the one automatically made when the class is made and is parameter-less) is still available for construction of an object when I have also defined a parameterized constructor
Yes I am confused whether the default constructor(the one automatically made when the class
Share
Once you use parametric constructor you need to call it using parameters .PHP doesn’t support constructor overloading like C# but their are many workarounds.