Only Five Students Can Answer
Uni stats says only 5 students out of 1k able to answer right: public static void main(String[] args) { int a=9,b=4,c=7,d=1,e=3; while ((a=1)==1 && (b=2)==3 && (c=3)==3 || (d=4)==4 || (e=5)===7) { System.out.println(a + " " + b + " " + c + " " + d + " " + e); break; } }
A screenshot shows a Java code snippet beneath a claim that only five students out of one thousand can answer correctly. The joke is that the code contains confusing assignment and comparison operators, making a simple-looking programming question deceptively difficult. It is shared as a reaction to absurdly tricky exam questions or confusing code.
code screenshot / скриншот кодаJava source code / исходный код Javatext editor window / окно текстового редактораprogramming syntax / синтаксис программированияnumber 5 / число 5number 1k / число 1kstudent statistic / статистика студентовwhile loop / цикл whilemain method / метод mainboolean condition / логическое условие
- @dev_meme / 4947 2022-10-20
- Type
- image
- Size
- 800×368 · 33.0 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added