+ 1
Is it not possible to use <int> instead of <String>
4 Answers
+ 9
You would have to use the wrapper class Integer not the primitive int. Example
LinkedList<Integer> x = new LinkedList<Integer>();
+ 5
As Yerucham said,
https://www.sololearn.com/learn/432/?ref=app
+ 3
yes tried it ..thanks