جافا 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
الى ماذا ترمز هذي الصيغه
public void methodABC(int x,double y)
public void methodABC(double x,int y)
public void methodABC(int x,double y)
public void methodABC(double x,int y)
Anonymous Quiz
47%
Overriding
53%
overload
👍2
اذا شفت تفاعل ان شاء الله راح انزل اكثر وانشرو القناة ان شاء الله نستفيد الجميع
https://t.me/learn_java_e
https://t.me/learn_java_e
ماهي وظيفة هذه الدالة
replaceFirst(String regex, String replacement)
replaceFirst(String regex, String replacement)
Anonymous Quiz
45%
تستخدم لتبديل نص محدد بداخل الـ String الذي قام باستدعائها
20%
تستخدم للبحث في الـ String الذي قام باستدعائها عن Substring ما لتبديله بنص جديد
34%
تبحث في الـ String الذي قام باستدعائها عن القيمة الأولى التي نمررها لها و تبدلها بالقيمة الثانية
👍1
👍1