جافا Java
https://harmash.com/tutorials/java/overview
موقع رائع لتعلم جافا بالعربي
جافا Java
dataType [] arrayName = new dataType [ dataType ];
هل هذه طريقه صحيحه لتعريف المصفوفات
لإيجاد طول الصف وطول العمود في المصفوفه الثانية
int[][]matrix = new int[20][15];
int[][]matrix = new int[20][15];
Anonymous Quiz
39%
1:arrayName.length gives the number of rows 2 :arrayName[0].length gives the number of columns.
23%
1:arrayName.length gives the number of columns 2 :arrayName[0].length gives the number of rows.
21%
1:arrayName.length gives the number of rows 2 :arrayName.length gives the number of columns.
16%
1:arrayName.length[0] gives the number of rows 2 :arrayName.length gives the number of columns.
👍2