Java universal

< div class = "Para" style = "font size: 14px; word wrap: break word; color: rgb (51,51,51); margin bottom: 15px; text indent: 28px; line height: 24px; zoom: 1; font family: Arial, sans serif" > generics is a new feature of Java se 1.5. The essence of generics is parameterized, that is, the data type to be operated is specified as a parameter. This parameter type can be used in the creation of classes, interfaces and methods, which are called < a target = "_blank" href respectively=“ http://baike.baidu.com/view/2104244.htm " rel="nofollow" style="color:rgb(19,110,194); Text decoration: None "> generic classes, generic interfaces, generic methods. < a target =" "_ blank" href="%20http://baike.baidu.com/view/229611.htm%20" rel="nofollow" style="color:rgb(19,194); Text decoration: None "> the advantage of introducing generics into the Java language is safety and simplicity.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>