I was going through the questions in my study guide for computer science, and I noticed a few blocks of code that contained syntax that I had never used before.
My first question is on the ^ operator.
What exactly does this do?
My second questions is on the use of : and ? in if and for statements.
What exactly do these operators do?
Here are the blocks of code that they are featured in: int x= 2^3;
System.out.println((x<y)?((y<z)?z:y):
((x<z)?x:z));
If someone could atleast point me to a web page that explains those operators, I would much appreciate it.