Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to call a constructor for a parent class?



How to call a constructor for a parent class?..

Answer / Santosh

In PHP, when you create an object of a child class, the parent class constructor is called automatically as part of the object creation process. If you want to override this behavior, you can use the parent keyword in the child class constructor.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

Is wordpress easier than joomla?

1 Answers  


How do I delete a site?

1 Answers  


How do I show pages on wordpress?

1 Answers  


What is shortcode in wordpress? How we can use it?

1 Answers  


Can I make my wordpress site private?

1 Answers  


How long does it take to code a website?

1 Answers  


Explain how come the code <?php print contents: $arr[1]; ?> Works, but <?php print contents: $arr[1][2]; ?> Doesn't for two-dimensional array of mine?

1 Answers  


How many hours does it take to build a wordpress website?

1 Answers  


How do I backup my wordpress site for free?

1 Answers  


What is the difference between a blog and a post?

1 Answers  


Where is wordpress admin password stored?

1 Answers  


How do I create a post shortcode in wordpress?

1 Answers  


Categories