Java: Generic Classes

Java: Generic Classes

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 38m | 1.34 GB

Generics in Java are popular and widely used in all kinds of project development—Core Java projects, web application projects, web services, and more. It’s an indispensable capability in the Java language and provides the power of eliminating errors at compile time itself instead of resulting in runtime problems. In this course, Ketkee Aryamane goes hands-on with generics in Java. She starts with the fundamental concepts, terms, and rules and naming conventions in generics, then covers generic classes and methods. Ketkee then takes a deeper dive into generics, covering topics like generic class hierarchies, wildcard arguments, and restrictions on generics. If you’re a developer looking to save time by eliminating runtime issues and making more readable code, join Ketkee in this course.

Table of Contents

Introduction
1 Generics in Java
2 Prerequisites for this course

Fundamentals of Generics
3 Understand the need for generics
4 Understand generics in Java
5 Terms in generics
6 Rules and naming conventions
7 Advantages of generics

Generic Classes and Methods
8 Generic classes interface use case
9 Create a generic class demo
10 Understand generic methods and constructors
11 Implement a generic method as a utility
12 Using bounded types
13 Challenge Write code using generic classes bounded types
14 Solution Write code using generic classes bounded types

Generics Deep Dive
15 Generic class hierarchies
16 Type argument hierarchies
17 Understand type erasure in generics
18 Understand bridge methods
19 Understand type inference and target types
20 Applying wildcard arguments
21 Restrictions on generics

Conclusion
22 Where to go from here

Homepage