Discussioni Q&A
what is output this
1 Voto
2 RisposteWhy this dosent work?
3 Voti
1 RispostaMethod Bucle (C#)
0 Voti
4 RisposteJust a bit of fun
0 Voti
1 Risposta? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys 😁
18 Voti
6 RisposteTooltip
1 Voto
1 Rispostadeclaring
0 Voti
1 RispostaHELP WITH JS
4 Voti
1 Rispostajava class Add quot;">"quot;
quot;;">"quot;;"awesome");"dolor""haha""hihi""hoho""huhu");"ipsum""is""sit"{}+=addadd("hehe"add("lorem"add("this"classconstructor(...words)newprint()returnthis.words 1 Voto
4 Risposte