0

Fill in the blanks to define an interface IMusician with a declaration for the play() method. Then, define a Guitarist class tha

interface IMusician { public function play(); } class Guitarist implements IMusician { public function play() { echo "playin a guitar"; } }

20th May 2019, 6:33 AM
Mehrzad Safariyan
Mehrzad Safariyan - avatar
10 Respuestas
+ 4
interface IMusician { public function play(); } class Guitarist implements IMusician { public function play () { echo "playin a guitar"; } }
14th Sep 2019, 9:52 PM
Jean de Dieu RUMANZI
Jean de Dieu RUMANZI - avatar
0
interface IMusician { public function play(); } class Guitarist implements IMusician { public function play () { echo "playin a guitar"; } }
24th Feb 2020, 6:35 PM
Sonu Kumar Yadav
Sonu Kumar Yadav - avatar
0
interface and implements this question answer.
18th Jun 2020, 2:46 AM
Joynal Abdin
Joynal Abdin - avatar
0
{, class, extends
15th Mar 2021, 1:22 AM
Paul Chukura
0
Here is the solution: interface IMusician { public function play(); } class Guitarist implements IMusician { public function play () { echo "playin a guitar"; } }
23rd Aug 2021, 11:31 AM
Owethu Sotomela
Owethu Sotomela - avatar
1st Sep 2021, 3:54 PM
MD Nur Ahmad
MD Nur Ahmad - avatar
0
class , implements and play
17th May 2022, 7:57 AM
Megha Raj kandel
- 1
interface and impliments
24th Feb 2020, 6:33 PM
Sonu Kumar Yadav
Sonu Kumar Yadav - avatar
- 1
//interface IMusician { public function play(); } //class Guitarist //implements IMusician { public function //play() { echo "playin a guitar"; } } //answer
1st Mar 2020, 7:59 AM
Sadman Fahim
Sadman Fahim - avatar