PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

which classes can be instantiated?

In the following code, which classes can be instantiated? abstract class Graphics { abstract
function draw($im, $col); } abstract class Point1 extends Graphics { public $x, $y; function
__construct($x, $y) { $this->x = $x; $this->y = $y; } function draw($im, $col) {
ImageSetPixel($im, $this->x, $this->y, $col); } } class Point2 extends Point1 { } abstract
class Point3 extends Point2 { }


Page 54 of 101« First...102030...5253545556...607080...Last »