This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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]