Salesforce Platform Developer I (legacy) — Question 286

Which two statements are valid regarding Apex classes and interfaces? (Choose two.)

Answer options

Correct answer: B, D

Explanation

The correct answer is B and D because interface methods are always public in Apex, ensuring they can be implemented by any class. Option D is also accurate, as a class can have multiple inner classes, but the level of inner class organization is limited to one level deep. Options A and C are incorrect because classes are not final by default and inner classes are not private by default.