Fill in the blanks. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 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