Friday, 7 September 2012

What is the output of following block of program ? boolean var = false; if(var = true) { System.out.println(“TRUE”); } else { System.out.println(“FALSE”); } | JAVA JSP

A. TRUE
B. FALSE
C. Compilation Error
D. Run-time Error

ANS: A

No comments: