PrintStream: print(int i) : PrintStream « java.io « Java by API






PrintStream: print(int i)

    
public class Main {

  public static void main(String[] args) {
    System.out.print(12);
    System.out.print('g');

  }

}

   
    
    
    
  








Related examples in the same category

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