Suppose that I have a two dimensional array holding 8 teams (rows) and in each team there is 12-15 players. Is there a way to know the total amount of players exist in String teams[][] (WITHOUT looping)?
-
1Yes. You can sums up the length of all teamsZaheer Khorajiya– Zaheer Khorajiya2015-09-18 10:46:23 +00:00Commented Sep 18, 2015 at 10:46
-
Check stackoverflow.com/questions/4441099/…Anonymous Coward– Anonymous Coward2015-09-18 10:47:18 +00:00Commented Sep 18, 2015 at 10:47
Add a comment
|