Why take this course?

Java Generics is a necessary skill when working with Collection classes. But the true power lies with using it for your own types!

  • Learn why Generics exist and how you can use it to make your code better

  • Create your own Generic types to implement elegant solutions to problems

  • Understand wildcards, upper bounds, lower bounds and master Generics syntax

  • Gain knowledge to tackle the trickiest interview questions about Generics

Course curriculum

  • 1

    Welcome to the course!

  • 2

    Generics Basics

    • What are generics?

    • Generics in lists explained

    • Autoboxing with Generics

    • Parameterized types explained

  • 3

    Generics Internals

    • How Generics works

    • Generic lists vs typed arrays

    • Create your own generic type

    • Generics with constructors

    • How inheritance works with generic types

  • 4

    Wildcards and Advanced Generics

    • Generics wildcards explained

    • Using Generics upper bound wildcards

    • Using generics wildcards

    • Generics with multiple type parameters

    • Using multiple upper bound types

    • Using lower bound wildcards

    • Using generics with static methods

  • 5

    Next Steps

    • Conclusion

    • Before you go...