What will the following code fragment


What will the following code fragment do?

File file = new File("capture.txt");

PrintStream ps = new PrintStream(new FileOutputStream(fIle));

System.SetOut(ps);

Solution Preview :

Prepared by a verified Expert
JAVA Programming: What will the following code fragment
Reference No:- TGS02361145

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)