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)- A3% (1)
- B76% (28)
- C14% (5)
- D8% (3)
Community Discussion
No community discussion yet for this question.