The use of generics thought

A class has a lot of need to use a generic type inside the "demo" such as using a lot of this demo type, and can be tied to this class, and then declare the inheritance or some type of realization when specifically what type .

Or is there some type of parent class elements of specific decisions need to be inherited or implemented in time what type, you can use generics

Guess you like

Origin www.cnblogs.com/lxl87/p/11031515.html