Answer to Question #873 in Java | JSP | JSF for Kerry CUMMING

Question #873
Does placing the code

boolean myVar; if (myVar == false) {int x =2;}

within a method cause a compilation error?
1
Expert's answer
2010-10-31T18:43:00-0400
We can't say what causes a compilation error.The whole code is needed to determine it.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS