KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an int[][] object. It is defined in my code as below: public int[][] position = { {20, 30}, {73, 91}, {82, 38} }; Would it be possible to get the value of the first value (on the left) within each of the pairs of parentheses and store them as individual int variables using a for loop? Basically, is it possible to extract the "20", "73" and "82" and store them into int variables individually?
Tags (comma-separated)
Save Edits
Cancel