Zend
200-710 · Question #145
Which of the following code snippets is correct? (Choose 2)
The correct answer is B. interface Point { function getX(); function getY(); } C. interface Line extends Point { function getX2(); function getY2(); }. See the full explanation below for the reasoning.
Question
Which of the following code snippets is correct? (Choose 2)
Options
- Ainterface Drawable { abstract function draw(); }
- Binterface Point { function getX(); function getY(); }
- Cinterface Line extends Point { function getX2(); function getY2(); }
- Dinterface Circle implements Point { function getRadius(); }
How the community answered
(44 responses)- A16% (7)
- B77% (34)
- D7% (3)
Community Discussion
No community discussion yet for this question.