What does the colon (:) operator do?
There are several places colon is used in Java code: 1) Jump-out label (Tutorial): 2) Ternary condition (Tutorial): 3) For-each loop (Tutorial): 4) Assertion (Guide): 5) Case in switch statement (Tutorial): 6) Method references (Tutorial)