Cass test public static void mainstring args test p


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. true false D. false false

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Cass test public static void mainstring args test p
Reference No:- TGS0627683

Expected delivery within 24 Hours