Quiz Question 1 of 10
The follow code is valid for implementing the interface:
interface Colorable { public function color($pressure = 2); } class PurplePencil implements Colorable { private $color = array(0=>'white', 1=>'Violet', 2='Plum'); public function color($pressure){ return $this->color[$pressure]; } }
Choose the correct answer below: