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