Question: 1 Using inheritance create a new class named BikeShop from an existing class named BaseClass Write a PHP 5 constructor method that calls the inherited
Using inheritance create a new class named BikeShop from an existing class named BaseClass
Write a PHP constructor method that calls the inherited method printName
No outputprint required, I will create BaseClass, build an object and check that the inherited method ran
class BikeShop extends BaseCalss
functionconstruct
echo printName;
Kepp getting syntax error what am i doing wrong?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
