Home /
Expert Answers /
Computer Science /
4-find-the-error-correct-it-and-write-output-package-javaapplication285-public-class-test-pu-pa805
(Solved): 4. Find the error, correct it and write output. package javaapplication285; public class Test \{ pu ...
4. Find the error, correct it and write output. package javaapplication285; public class Test \{ public int a, b; public Test ( int \( \mathrm{i} \), int \( \mathrm{j} \) ) \{ package javaapplication 285 ; public class JavaApplication285 \{ public static void main(String|l args) \{ Test ob \( = \) new Test \( (15,20) \); System.out.println("ob.a and ob.b before call:" +ob.a +" " +ob.b); System.out.println("ob.a and ob.b after call:" + ob.a +" " tob.b); 1