nerdexam
Zend

200-550 · Question #121

200-550 Question #121: Real Exam Question with Answer & Explanation

Sign in or unlock 200-550 to reveal the answer and full explanation for question #121. The question stem and answer options stay visible for context.

Question

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 { }

Options

  • AGraphics
  • BPoint1
  • CPoint2
  • DPoint3
  • ENone, the code is invalid

Unlock 200-550 to see the answer

You've previewed enough free 200-550 questions. Unlock 200-550 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 200-550 Practice