Loading…
Loading…
Ten exam-style questions on declaring and implementing interfaces, implicit modifiers, constants, extends versus implements, duplicate abstract methods, instanceof with interfaces and the @Deprecated, @SuppressWarnings and @SafeVarargs annotations, with explanations.
Practice questions for the article Java Interfaces: Declaring, Implementing and Inheriting Abstract Methods.
Before judging any interface member, write in its implicit modifiers. Aim for at least 8 out of 10.
Quiz path: step 43. Take the quizzes in this order, after reading each article.
Previous quiz: Chapter 6 Review: Class Design (OCP 21)
Next quiz: Interface default, static and private Methods (OCP 21)
10 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.