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 what happens when a method has the same signature as its parent.
What does @Deprecated signify?
Ask yourself if there are new alternatives available.
What is the purpose of the @Override annotation?
Recall when you use this annotation with a method signature.
The @Deprecated annotation...
Think about how libraries inform users of changes.
Create a custom annotation to log method execution time. Include @Retention and @Target annotations in your design.
Think about why you might want to log method execution in a system.
Discuss how using @SuppressWarnings can impact the maintainability of a codebase. Provide an example where it may be misused.
Consider how unhandled warnings might lead to broken code.
5 more questions in this section. Enroll free to practise them all.
Enroll free