Generics and WildCard
๐น Java Generics & Wildcards: The What, Why, and How
1. What are Generics?
Generics in Java let you parameterize types.Instead of writing code that works only with Object and then casting, you can write type-safe, reusable code.
Example (without gene...
nithinmanupuri.hashnode.dev3 min read