/* Missing Statement ? */ public class foo { public static void main(String[]args)throws Exception { java.io.PrintWriter out = new java.io.PrintWriter(); new java.io.OutputStreamWriter(System.out,true); out.println('Hello'); } }What line of code should replace the missing statement to make this program compile? - Study24x7
Social learning Network
28 Feb 2023 10:46 AM study24x7 study24x7

/* Missing Statement ? */ public class foo { public static void main(String[]args)throws Exception { java.io.PrintWriter out = new java.io.PrintWriter(); new java.io.OutputStreamWriter(System.out,true); out.println("Hello"); } }What line ...

See more

A

No statement required.

B

import java.io.*;

C

include java.io.*;

D

import java.io.PrintWriter;

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles