جافا Java
6.41K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
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 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