
2D int arrays are actually a reference to an array of 1D int arrays! This is helpful for reasoning about 2D arrays in Java and Java references and arrays in general! public class JavaPractice { public static void main(String[] args){ int[][] grid = new int[6][3]; int[][] grid2 = new int[6][3]; grid[3][2] = 6; grid2[3][2] = 6; } }
Java Memory Models: 2D int arrays - YouTube |
4 Likes | 4 Dislikes |
77 views views | 2,205 followers |
Education | Upload TimePublished on 28 Jan 2019 |
\u200fyoutube,\u200ffortnite,\u200fgoogle translate,\u200f\u202bgoogle\u202c,\u200fminecraft,\u200fok google,\u200fpubg,\u200fsiri,\u200fجمعة مباركة,\u200fصباح الخير,\u200fطيور الجنة,\u200fسورة البقرة,\u200fقران,\u200fسورة الكهف,\u200ftwitter,\u200finstagram,\u200fدعاء السفر,\u200ffacebook,\u200fشباب البومب,\u200fhttps //ios.snapp.ir
Không có nhận xét nào:
Đăng nhận xét