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”); } | JDBC

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

Ans:  A

No comments: