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 PDI Dumps Valid Version with 191 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund