PrintStream: print(String s) : PrintStream « java.io « Java by API






PrintStream: print(String s)

    
public class Main {

  public static void main(String[] args) {
    String message = "qwer";
    System.out.print(message);

  }

}

   
    
    
    
  








Related examples in the same category

1.new PrintStream(File file)
2.new PrintStream(OutputStream out)
3.PrintStream: print(char c)
4.PrintStream: print(int i)