خرید بک لینک

Vote count: -1

My background is C, so Java generics is new to me. Here, I use ArrayList as an example. Is the 1st declaration better than the 2nd? Or what situation is better suited for the 1st declaration and what other situation is better suited for the 2nd?

ArrayList<String>[][] list = new ArrayList[5][5];


ArrayList<String> list2 = new ArrayList<ArrayList(String)>();

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 23 فروردين 1395 ساعت: 5:50

صفحه بندی