Answers for "system.out.write in java example"

1

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.");
}
Posted by: Guest on October-14-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language