Search notes:

Write text to standard out (console) with with println

println, which is defined in the class class java.io.PrintStream allows to write text into a stream.
As it happens, System.out is an instance of java.io.PrintStream which points to standard out. Thus, it is possible to write text to the console with System.out.println("some text").
public class println {

  public static void main(String[] argv) {

    java.io.PrintStream ps = System.out;

    ps.println("Hello World, slightly different.");

  }

}
Github repository JavaClasses, path: /java/io/PrintStream/println.java

See also

Java classes

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199935, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Java/classes/java/io/PrintStream/println(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78