Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

system.out.write in java example

public class JavaPrintStreamWriteExample4 {
public static void main(String[] args) {
//out is the object class PrintStream.
byte[] b= {115,104,117,98,104,97,109,95,106,97,100,111,110};
System.out.write(b, 0, 13);
System.out.println();
System.out.print("Successfully printed byte array to this stream.");
}
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
2+2 =