Java
T
point
Home
Core Java
Servlet
JSP
Struts2
Mail API
Hibernate
Spring
Android
Design Pattern
Projects
Interview Q
View All Questions
Ask New Question
Why do we have to declare the parameter types on both side in generics?
By:
pnsmgl***
On:
Thu Mar 23 10:24:19 IST 2017
20
4
0
24
ArrayList<String> al = new ArrayList<String>()
what is the use of right side parameter (<String>)? Thanks in advance
0