PrepAway - Latest Free Exam Questions & Answers

Which of the following code snippets is correct?

Which of the following code snippets is correct? (Choose 2)
<code>
a)
interfaceDrawable {
abstractfunction draw();
}
b)
interfacePoint {
functiongetX();
functiongetY();
}
c)
interfaceLine extends Point {
functiongetX2();
functiongetY2();
}
d)
interfaceCircle implements Point {
functiongetRadius();
}
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
a)

B.
b)

C.
c)

D.
d)

One Comment on “Which of the following code snippets is correct?


Leave a Reply

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