Pricing options

Choose how you want to get access to this course

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...

Reviews

5 star rating

Helps you clearly understand what Generics are

Mahesh J

This course has clearly explained the purpose and use of Generics in java. I was thinking with less amount of videos how is the topic going to be explained c...

Read More

This course has clearly explained the purpose and use of Generics in java. I was thinking with less amount of videos how is the topic going to be explained clearly, But the trainer has the clear knowledge and explains the use cases for each of the topics in Generics. I highly recommend this course if you are starting out to understand Generics. I thank the trainer in helping me in this.

Read Less
5 star rating

Good Introduction to Generics

Paul Olsztyn

I really had a hard time wrapping my head around Generics before this video. The instructor has a great way of explaining things in a way that sticks.

I really had a hard time wrapping my head around Generics before this video. The instructor has a great way of explaining things in a way that sticks.

Read Less
5 star rating

Great overview of generics

Brandon Poythress

Great overview on how generics work!

Great overview on how generics work!

Read Less