<AptiCode/>

Question 733: What will be the output of the program?class Test { public static void main(String [] args) { Test p = new Test(); p.start(); } void start() { boolean b1 = false; boolean b2 = fix(b1); System.out.println(b1 + " " + b2); } boolean fix(boolean b1) { b1 = true; return b1; } }

tcs
wipro
infosys
general
aptitude
operators-and-assignments

The booleanb1in thefix()method is a different boolean than theb1in thestart()method. Theb1in thestart()method is not updated by thefix()method.