جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
جافا Java pinned Deleted message
جافا Java pinned Deleted message
الكود صح او خطأ مع السبب
👍5
الى ماذا ترمز هذي الصيغه
public void methodABC(int x,double y)
public void methodABC(double x,int y)
Anonymous Quiz
45%
Overriding
55%
overload
النوع long يتكون من
Anonymous Quiz
72%
64 bit
18%
32 bit
4%
16 bit
6%
8 bit
النوع char
يتكون من
Anonymous Quiz
46%
16 bit
31%
8 bit
12%
4 bit
12%
2 bit
النوع int
يتكون من
Anonymous Quiz
29%
16 bit
28%
8 bit
39%
32 bit
4%
64 bit
int c[ ][ ];
هل يمثل مصفوفة ثنائية اذا كانت الإجابة خطأ اعطنا الصح في جروب المناقشة
Anonymous Quiz
79%
صح
21%
خطأ
👍3
&&
يرمز ل
Anonymous Quiz
92%
And
4%
Or
1%
Not
3%
Nand
How do you write an if-else statement to check if a variable `age` is greater than 18?
Anonymous Quiz
72%
if (age > 18) {} else {}
3%
if age > 18 {} else {}
18%
if (age > 18); else;
6%
if {age > 18} else {}
2👍1
What will be the output of the following Java code snippet that demonstrates the use of the 'instanceof' keyword?

class Parent {}
class Child extends Parent {}
public class Test {
public static void main(String[] args) {
Parent obj = new Child();
System.out.println(obj instanceof Child);
}
}



ماذا سيكون المخرج للشفرة البرمجية جافا التالية التي توضح استخدام كلمة 'instanceof'؟
What is the output of the following Java code snippet?

String name = "Java";
System.out.println(name instanceof String);



ما هو مخرج الشفرة البرمجية جافا التالية؟
Fix the error in the following Java code snippet to correctly calculate the factorial of a number using recursion.

public int factorial(int n) {
if (n == 1)
return 1;
else
return n * factorial(n - 1);
}



أصلح الخطأ في الشفرة البرمجية جافا التالية لحساب عامل رقم باستخدام العودية بشكل صحيح.
What is the base class of all classes in Java?
Anonymous Quiz
54%
Main
32%
Object
12%
Class
2%
System