posted 17 years ago
What is difference between
1. List myList = new ArrayList<Integre>();
2. List <?> myList = new ArrayList<Integer>();
Are following answers correct, and any other differences
First list is not type safe, also code will compile with warning in 1.5
Second list does not allow to add any thing into list
TA
Vivek
[ May 17, 2006: Message edited by: vivekkumar sharma ]