Computer Science, asked by krithi7kaDb7hagurjot, 1 year ago

what is question mark in java

Answers

Answered by sairockzz
1
It is called the Conditional Operator (which is a ternary operator). Think of the ? as "then" and : as "else". This is probably a bit clearer when written with brackets as follows: ... If the result is true then the part after the ? and before the : is returned
Answered by Karam
0
?  - ternary operator........
Similar questions