It might be a very beginner question, but I'm curious to ask. Usually I use <T>
to write a generic Java class.
public class Foo<T> extends Bar<T> {...}
But I also see people use <E>
in many open source project. Does <E>
imply anything different from <T>
? Or it is just some coding habits?