Getbytes String

in Hindi - Getbytes String



not yet

Source Code :

RUNpublic class GetBytes{  

public static void main(String args[]){  

String str1="Hello World";  

byte[] str2=str1.getBytes();  

for(int i=0;i<str2.length;i++){  

System.out.println(str[i]); 
}  
}
}