جافا Java
6.47K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
What is the output of the following code?
System.out.println(1 + 2 + "3" + 4 + 5);

ما هو ناتج تنفيذ الكود التالي؟
System.out.println(1 + 2 + "3" + 4 + 5);

#JavaOperators #TypeConversion
What will be the output of the following code?
int x = 5;
System.out.println(x++ + ++x);

ما هو ناتج تنفيذ الكود التالي؟
int x = 5;
System.out.println(x++ + ++x);

#JavaOperators #IncrementOperators
What is the difference between `&&` and `&` operators in Java?

ما هو الفرق بين العاملين `&&` و `&` في جافا؟

#JavaOperators #LogicalOperators
1
What is the purpose of the `instanceof` operator in Java?

ما هو الغرض من العامل `instanceof` في جافا؟

#JavaOperators #TypeChecking
What is the purpose of the `instanceof` operator in Java?

ما هو الغرض من العامل `instanceof` في جافا؟

#JavaOperators #TypeChecking
What is the purpose of the `instanceof` operator in Java?

ما هو الغرض من العامل `instanceof` في جافا؟

#JavaOperators #TypeChecking
What is the output of the following code?
int a = 10;
int b = 20;
System.out.println(a > b ? "a is greater" : "b is greater");

ما هو ناتج تنفيذ الكود التالي؟
int a = 10;
int b = 20;
System.out.println(a > b ? "a is greater" : "b is greater");

#JavaOperators #TernaryOperator
👍1
What is the difference between `++i` and `i++` in Java?

ما هو الفرق بين `++i` و `i++` في جافا؟

#JavaOperators #IncrementOperators
👍1
What is the output of the following code?
int a = 10;
int b = 20;
System.out.println(a > b ? "a is greater" : "b is greater");

ما هو ناتج تنفيذ الكود التالي؟
int a = 10;
int b = 20;
System.out.println(a > b ? "a is greater" : "b is greater");

#JavaOperators #TernaryOperator