This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have come across following question from Dan's operator section tests: ________________________________________________________________________
What is the result of attempting to compile and run the above program? a. Prints: false,false,false b. Prints: false,false,true c. Prints: false,true,false d. Prints: false,true,true e. Prints: true,false,false f. Prints: true,false,true g. Prints: true,true,false h. Prints: true,true,true i. Runtime error j. Compiler error k. None of the above __________________________________________________________________________ Now, based on the operator precedence and operator evaluation rules, '&&' has got a higher precedence than '||'. So, according to me, these should be the order of steps executed at runtime: [LIST]