Following are the other possibilities
- System.out.write("www.queryhome.com \n".getBytes());
- System.out.format("%s", "www.queryhome.com \n")
- PrintStream myout = new PrintStream(new FileOutputStream(FileDescriptor.out));
myout.print("www.queryhome.com \n");
- System.err.print("This is custom error message");
Not sure what are you looking for...