PrepAway - Latest Free Exam Questions & Answers

Which of the following code snippets is correct?

Which of the following code snippets is correct? (Choose 2)

PrepAway - Latest Free Exam Questions & Answers

A.
interface Drawable { abstract function draw(); }

B.
interface Point { function getX(); function getY(); }

C.
interface Line extends Point { function getX2(); function getY2(); }

D.
interface Circle implements Point { function getRadius(); }


Leave a Reply

Your email address will not be published. Required fields are marked *