Topic: interface type
Group: parameters
Topic: programming style
Topic: type parameter
Quotation Skeleton
For parameter types, favor interfaces over classes. … For example, there is no reason ever to … Hashtable, a HashMap, a TreeMap … By using a class instead of an interface, … operation if the input data happens to exist …
Google-1Google-2