It says that you, as a programmer on the N line, create the max variable of the int type and initialize it with the return value of the ternary operator whose condition X is less than Y, if the condition is met to return the left side after the "?" if not then right. Well, about the fact that Shild wrote it is necessary to look in the context of the code of his program.
By the way, using the ternary operator is bad practice because it makes the code more difficult to read, and if we want to be good programmers, then we need to write code that will be understood by other people accompanying this code after you, the only case where you can use the ternary operator is a very simple expression, as in your example)))