Interfaces in AL Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Advanced AL Programming

What you'll be asked

  1. Which keyword is used to define an interface in AL?
  2. When implementing an interface in a codeunit, which keyword must be used in the definition?
  3. Which of the following statements regarding interface methods in AL is true?
  4. If a codeunit implements an interface, what happens if you fail to implement one of the methods defined in that interface?
  5. You have an interface 'IProcessor' and two codeunits 'FastProcessor' and 'SlowProcessor' that both implement it. How can you dynamically call the correct implementation at runtime based on a variable?

Answers and explanations come after you submit.