Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does the @Override annotation do?
Think about method inheritance.
What is the use of @Deprecated?
Consider methods that should not be used anymore.
What does the @Override annotation indicate?
Think about what happens during method inheritance.
Is the @Deprecated annotation used to mark methods that shouldn’t be used anymore?
Consider methods that have been replaced.
Given a class with multiple methods marked as @Deprecated, how would you approach refactoring the code to avoid using those methods?
Look for documentation on preferred methods.
Implement a functional interface using @FunctionalInterface and demonstrate its usage with a lambda expression.
Remember the rules of lambda syntax.
5 more questions in this section. Enroll free to practise them all.
Enroll free