Take Class PrintStream as the starting point, looked this up on sun microsystems
and looking through the available methods to find one that will do what i need to do, the problem then becomes how to use it take "public void print(char c)" for example, have tried lots of ways to no avail typically
can you please correct my errors or post example if possible so i can see where i am going wrong
and looking through the available methods to find one that will do what i need to do, the problem then becomes how to use it take "public void print(char c)" for example, have tried lots of ways to no avail typically
Code:
import java.io.*;
import java.util.*;
class displayIt{
static OutputStream outputStream;
public static void main(String[] args)
{
System.out.println("Hello ");
}
class PrintStream{
PrintStream.print("help");
}
}
Comment