what is question mark in java
Answers
Answered by
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
0
? - ternary operator........
Similar questions
English,
8 months ago
English,
8 months ago
English,
8 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago