Course

Java Generics

Learn to write robust, type-safe code and algorithms using Java Generics.

of video
1.1 h
lectures
21
sections
3

$49.97one payment

Lifetime access. 15-day money-back guarantee.

Want a mentor as well? The Academy gives you every course on Amigoscode plus code reviews, daily live calls and interview prep, for $129/month. Compare →

What you'll learn

By the end of this course

  • Understanding ClassCastException - Learn why generics exist and how they prevent `ClassCastException`.
  • Type Parameters and Naming Conventions - Grasp the principles of type parameters and conventions like `<T>` and `<E>`.
  • Generics in Classes and Methods - Learn to implement and work with generic classes and methods.
  • Bounded Type Parameters - Master upper, lower, and multiple bounds for type safety and flexibility.
  • Wildcard Usage - Understand unbounded, upper-bounded, and lower-bounded wildcards for dynamic programming.
  • Type Erasure - Explore how Java implements generics at runtime through type erasure.
  • Cheat Sheets and Exercises - Reinforce your learning with practical exercises and a comprehensive cheat sheet.

Curriculum

3 sections, 21 lectures

1.1 h of video. Open any section to see its lectures.

1Intro1 min
  1. 1Welcome1 min
  2. 2Related Courses
2Java generics1 h 6 min
  1. 1Class Cast Exeption4 min
  2. 2Unbounded Wildcard5 min
  3. 3Upper Bounded Wildcards4 min
  4. 4Lower Bounded Wildcards4 min
  5. 5Difference Between Bounded Type Parameters And Wildcards3 min
  6. 6Type Erasure3 min
  7. 7Cheatsheet
  8. 8Java Generics Quiz
  9. 9Class Cast Exeption Example 23 min
  10. 10Type Parameter And Type Argument6 min
  11. 11Generic Type Naming Convention2 min
  12. 12Generic And Classes4 min
  13. 13Generic And Classes Part 26 min
  14. 14Generics And Methods8 min
  15. 15Bounded Type Parameters9 min
  16. 16Multiple Bounds4 min
3Outro1 min
  1. 1Outro1 min
  2. 2Feedback
  3. 3Next Course

Choose how you learn

Learn on your own, or with people who check your work

The course is yours to keep. The Academy is this course and every other one, plus the people who get you hired.

Java Generics

The course, on your own

$49.97one payment

  • 21 lectures, 1.1 h of video
  • Subtitles on every video
  • 6 months of IntelliJ IDEA Ultimate
  • Lifetime access to the course and its updates

15-day money-back guarantee

Recommended

The Academy

The courses, plus the people

$129/monthcancel anytime

This course, plus

  • Every course on Amigoscode 50+ in the Zero to Hired Roadmap
  • Daily live calls and 1:1 instructor time
  • Code reviews and pair programming on what you build
  • Interview prep mock interviews, System Design Lab, CV and LinkedIn review
  • Land an interview in 90 days or we coach you 1:1 free until you do.
Join the Academy

7-day money-back guarantee · Secure checkout on Skool

“Nelson was teaching 90% of my job. I was already implementing everything I learnt from it.”
MBMarlon BragaJava Full Stack Software Developer
“I was a totally different person. More confident as a developer, more prepared for my job.”
GabrielaSoftware Engineer at Mercado Livre
“I studied biomedicine and psychology. I found Nelson's Java tutorials while looking for a course for my brother. I was hooked and now here I am, a software engineer at IKEA.”
NajmaSoftware Engineer at IKEA

Read every review →

About this course

Who is this course for?

Level: Junior, Mid Engineers.

How long will it take?

There is about 1 hour of video. Most people finish in a week at 5 hours a week, plus the time you spend building along.

Do I keep access?

Yes. You pay once and keep the course for life, including updates.

What if it isn't for me?

Email us within 15 days of buying and we'll refund you in full.

Should I buy the course or join the Academy?

Buy the course if you only want this topic and you learn well on your own. Join the Academy if you want to get hired or move up: you get every course on Amigoscode, this one included, plus daily live calls, code reviews and interview prep, for $129/month. The course is $49.97 once.