0

Fill in the blanks.

_____Singer { public $name = "Ann"; public function display() { echo _____->name; } } $s = ____Singer(); $s___display();

4th May 2020, 5:06 AM
Sushant Aldar
Sushant Aldar - avatar
2 Answers
+ 1
class Singer { public $name = "Ann"; public function display() { echo this->name; } } $s = new Singer(); $s->display();
4th May 2020, 5:24 AM
Dasarath Singh
0
Go through the module again I am 100% sure you will get this :)
4th May 2020, 7:50 AM
Daljeet Singh
Daljeet Singh - avatar