Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Java Generics In-Depth

via Udemy

Overview

Master Generics and gain a deep understanding of how to use, read and apply Generics in Java.

What you'll learn:
  • 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

How often do you use Java Generics when writing your own types?


Java Generics is very much an underrated and underutilized feature of Java. Yes, Java Generics is a necessary skill when working with Collection classes. But the true power lies with using it for your own types!


Most Java developers get by with a rudimentary knowledge of Generics. However a good understanding of Generics adds an extra dimension to your Java code that makes it more type-safe and easier to work with.


This course covers an in-depth treatment to Java Generics and turn it from being a pain to being a joy to use.


Topics covered:

- Learn how Generics works with primitive types in conjunction with another Java feature - autoboxing and unboxing

- Understand what parameterized types are. What does it mean to add parameter to type information?

- Learn how to create your own custom generic types

- Implications of Generics with inheritance and polymorphism

- Understand wildcards, upper bounds and lower bounds with Generics

- Learn how to work with static methods using Generic types


Taught in the inimitable Java Brains style, this course covers everything you need to know to wield the power of Generics in your Java code as well as understand Generics syntax in other Java code.


Taught by

Koushik Kothagal

Reviews

4.6 rating at Udemy based on 283 ratings

Start your review of Java Generics In-Depth

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.