Useful Links
Computer Science
Programming
By Language
Java Programming
1. Introduction to Java
2. Core Language Fundamentals
3. Object-Oriented Programming (OOP) in Java
4. Exception Handling
5. Java Collections Framework
6. Generics
7. Input/Output (I/O)
8. Concurrency and Multithreading
9. Modern Java Features (Java 8 and beyond)
10. Java Virtual Machine (JVM) Internals
11. Build Tools and Dependency Management
12. Testing in Java
13. Database Connectivity (JDBC)
Generics
Introduction to Generics
Motivation for Generics
Type Safety
Eliminating Casts
Generic Classes and Interfaces
Defining Generic Types
Using Type Parameters
Multiple Type Parameters
Generic Methods
Method-Level Type Parameters
Usage Examples
Bounded Type Parameters
Upper Bounds
Lower Bounds
Multiple Bounds
Wildcards
Upper Bounded Wildcards (? extends Type)
Lower Bounded Wildcards (? super Type)
Unbounded Wildcards (?)
Type Erasure
How Type Erasure Works
Implications for Runtime
Bridge Methods
Previous
5. Java Collections Framework
Go to top
Next
7. Input/Output (I/O)