Blog posts tagged with "generics"
-
Bits of Java – Episode 24: Bounded and Unbounded Generics in Java
Last week we talked about generics in Java. Today we will remain on this topic and discuss a few more things you can do with them! At the end of the last post, we said that generics are basically just java.lang.Object for the compiler, and that, indeed, after compilation, what... [more]
-
Bits of Java – Episode 23: Generics in Java
Today we will discuss a bit about the use of generics in Java, which have been part of Java since its version 5. But what exactly are generics? So, when you build a List object, for instance, you would do something like this: List<String> names = new ArrayList<>(); where, in... [more]
subscribe via RSS