Based on the understanding generic code reusability

Based on the understanding generic code reusability

  For generic understanding should not stop at the generic Java provides properties after 5, only stay above the wildcard operator or diamond may be used with limitations, for it should be appreciated generic generics based on the idea that for the code improved reusability of the above come.

  Object classes can be used for example to represent a generic, using the interface type represented by generic like.

Guess you like

Origin www.cnblogs.com/dashenaichicha/p/12095752.html