aspose file tools* The moose likes Programmer Certification
(SCJP/OCPJP) and the fly likes q from sun's epractice exam Big
Moose Saloon   Search | Java FAQ | Recent Topics Register /
Login Reply Bookmark "q from sun Watch "q from sun New topic  q
from sun's epractice exam  JayaSiji Gopal Ranch Hand  Joined:
Sep 27, 2004 Posts: 303  wht is the result? What is the result?
x = 0 x = 1 x = 2 x = 3 x = 4 Compilation fails  i answered x =
2. but the correct answer is x=4 i answered x=2, bcos b=false
sets the value of b to,doesnt the if loop return true? plz
explain.  Barry Gaunt Ranch Hand  Joined: Aug 03, 2002 Posts:
7729 "b=false sets the value of b to false" You are correct, but
what is the value of the expression ?  Ask a Meaningful Question
and HowToAskQuestionsOnJavaRanch I agree. Here's the link:
subject: q from sun's epractice exam Similar Threads Sun Sample
exam: mistake?? If condition IS if (b ) same as: if (b == true)
??? Boolean Question fall - through for if-else loop ???