MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Java Annotations

Course Summary

Annotations have rapidly become the preferred approach to integrating powerful third-party libraries into your own Java applications. In this course, we'll first explore the basic use of annotations to give the compiler instructions. Then, we'll use more advanced techniques to create our own annotation and look for it using reflection.


  • +

    Course Syllabus

    Using Java's Built-In Annotations

    Java includes some built-in annotations to give the compiler instructions. In this stage, we'll explore the use of these three annotations: @Override, @Deprecated, and @SuppressWarnings. 17 steps
    • Introduction to Annotations 2:16
    • Getting Started with Annotations 1 question
    • The @Override Annotation 4:49
    • The @Override Annotation 1 question
    • Adding the @Override Annotation 1 objective
    • Using @Override to Fix an Error 1 objective
    • The @Deprecated Annotation 3:31
    • The @Deprecated Annotation 1 question
    • Using the @Deprecated Annotation 1 objective
    • Intro to Command Line Options for the Java Compiler 3:48
    • Command Line Options for the Java Compiler 2 questions
    • Using the Directory and Xlint Command Line Options 5:11
    • Using the Directory and Xlint Options in the Command Line 2 questions
    • The @SuppressWarnings Annotation - "static" 4:40
    • The @SuppressWarnings Annotation - "static" 1 objective
    • The @SuppressWarnings Annotation - "fallthrough" 5:30
    • The @SuppressWarnings Annotation - Suppressing Multiple Warnings 1 objective

    Writing Your Own Annotation

    Understanding exactly how an annotation is coded and used is critical to fully leveraging the power of popular third-party libraries. During this stage, we'll create our own annotation, apply it to a class and some methods, and test for its presence using a programming technique called reflection. 13 steps


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Development & Implementations and Telecommunications Community

Attended this course?

Back to Top

 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url