Q&A Discussões
JAVA
0 Voto
1 Resposta? : 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 Votos
6 RespostasWrite a static method called weave that that takes two integers as parameters and that returns the result of weaving their digits together to form a single integer. Two numbers x and y are weaved together as follows. The last pair of digits in the result should be the last digit of x followed by the last digit of y. The second-to-the-last pair of digits in the result should be the second-to-the-last digit of x followed by the second-to-the-last digit of y. And so on.
0 Voto
13 RespostasQuente hoje
Best language?
0 Votes
Need suggestions
0 Votes
Bro can you fix yt error?
0 Votes
Java full stack
0 Votes
Best code for creating games?
0 Votes
Calculator
0 Votes
Duration of heart refilling
0 Votes
progaming
0 Votes