Which is the correct implementation?

A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); }

Which is the correct implementation?
A . Public class DrawList implements Sortable, Implements Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}
]
B . Public class DrawList extends Sortable, Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}
}
C . Public class DrawList implements Sortable, Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}
}

D . Public class DrawList extends Sortable, extends Sortable, extends Drawable {
public void sort() { /*implementation*/ }
public void draw() { /* implementation */}

Answer: C

Latest CRT-450 Dumps Valid Version with 372 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments