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