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 { }
Lennie
3 months agoEstrella
3 months agoAbel
4 months agoOneida
4 months agoOsvaldo
4 months agoMicah
4 months agoIra
4 months agoBea
5 months agoLinwood
5 months agoLeota
5 months agoGail
5 months agoDawne
5 months agoLeslee
5 months agoKandis
5 months agoLenita
5 months agoWerner
5 months agoLuis
5 months agoCarrol
5 months agoHyman
10 months agoLeontine
8 months agoCristy
8 months agoCarmela
8 months agoStephane
8 months agoSheridan
8 months agoPatrick
9 months agoOra
9 months agoKaty
9 months agoEdna
9 months agoNakisha
10 months agoTeri
9 months agoHortencia
9 months agoTheola
10 months agoQueen
11 months agoEvelynn
10 months agoMichell
10 months agoTy
11 months agoRosina
11 months agoWilletta
11 months agoHildegarde
10 months agoJacinta
10 months agoDevon
10 months agoRobt
10 months agoDarrin
10 months agoNatalya
11 months agoRonny
11 months ago