nerdexam
Salesforce

CRT-450 · Question #129

A lead developer creates an Apex interface called "Laptop". Consider the following code snippet: How can a developer use the Laptop Interface within the Silvertaptop class?

The correct answer is B. public calss SilverLaptop extends Laptop. See the full explanation below for the reasoning.

Question

A lead developer creates an Apex interface called "Laptop". Consider the following code snippet:

How can a developer use the Laptop Interface within the Silvertaptop class?

Options

  • A@Extends(class=Laptop'')
  • Bpublic calss SilverLaptop extends Laptop
  • C@Interface (class=''Laptop'')
  • Dpublic class Silverlaptop implements Laptop

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    76% (28)
  • C
    14% (5)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice