Open shamsher198930 opened 4 years ago
<
<?php class area { public $height; public $width; public $area; function __construct($height,$width) { $this->name = $height*$width; } function get_area() { return $this->name; } } $areas = new area(15,15); echo $areas->get_area(); ?>
<?php class area { public $height; public $width; public $area; function __construct($height,$width) { $this->name = $height*$width; } function get_area() { return $this->name; } } $areas = new area(15,15); echo $areas->get_area(); ?>
Hi sir,
i understood what the wrong i did.i updated code in github please check it once.
Thanks & Regards, Kadavala Eashwar
On Fri, Jun 26, 2020 at 1:55 PM shamsher198930 notifications@github.com wrote:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EashwarSSK/drupal_8/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3EJHIDWY55SFLZMDP64Z3RYRLQTANCNFSM4OJDPWZQ .
https://github.com/EashwarSSK/drupal_8/blob/07153187e19534737747cd239fb4d534287df390/JUNE%205/AREA/area.php#L12