Computer Science, asked by RavanKumar7900, 1 year ago

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; } }

a. true true

b. false true

c.

a. true

b. false

d. false false?

Answers

Answered by Michealsingh
2
your ans is a.true
plz mark as brainliest
Similar questions