Обсуждения
? : 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 голосов
6 ответовShake to undo?
0 голосов
1 ответI will like to ask this question, but I don't know if is beyond the scope of this learning. it's about Gethashcode (), Tostring () Gettype () etc. I will like a little enligthment. The definition and overriding in a class, though I have gotten some definition, but I will like if someone could throw more light on it's usage.
0 голосов
2 ответовАктуальное сегодня
Input errors (python)
1 Votes
Vote Code
1 Votes
Script file names
0 Votes
Without degree job
0 Votes
Html learn
1 Votes
Java doubt coders
0 Votes