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 can you call a constructor for a parent class?



How can you call a constructor for a parent class?..

Answer / Jyoti Shukla

In object-oriented programming, when you create an instance of a child class that inherits from a parent class, the parent class's constructor is called automatically. If you want to call the parent class's constructor explicitly, you can do so using the 'parent::__construct()' syntax in the child class's constructor.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

Can I use two different themes in wordpress?

1 Answers  


Is it possible to host wordpress using amazon web services?

1 Answers  


What is a permanent url?

1 Answers  


Is wordpress good enough for ecommerce?

1 Answers  


Tell me from seo point of view is wordpress helpful? Will it show the website on google?

1 Answers  


What is the difference between a page and a post in wordpress?

1 Answers  


Are wordpress plugins free?

1 Answers  


Can deactivated plugins slow down a wordpress website?

1 Answers  


Explain the multi user management levels and their respective role in the site!

1 Answers  


What are the types of hooks in WP and what are their functions?

1 Answers  


How many websites can you have on wordpress?

1 Answers  


How to disable wordpress comment?

1 Answers  


Categories