nerdexam
SalesforceSalesforce

PDI · Question #136

PDI Question #136: Real Exam Question with Answer & Explanation

Sign in or unlock PDI to reveal the answer and full explanation for question #136. The question stem and answer options stay visible for context.

Submitted by anna_se· Apr 18, 2026Logic and Process Automation

Question

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?

Options

  • APublic class DrawList implements Sortable, Implements Drawable { public void sort()
  • BPublic class DrawList extends Sortable, Drawable {
  • CPublic class DrawList implements Sortable, Drawable { public void sort() { /*implementation*/}
  • DPublic class DrawList extends Sortable, extends Sortable, extends Drawable { public void sort()

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Apex#Interfaces#Object-Oriented Programming#Class Implementation
Full PDI PracticeBrowse All PDI Questions