Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to print byte array in java

public class Tester {
   public static void main(String[] args) {
      byte[] a = { 1,2,3};
      for(int i=0; i< a.length ; i++) {
         System.out.print(a[i] +" ");
      }
   }
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #print #byte #array #java
ADD COMMENT
Topic
Name
8+7 =