Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. public class Example{
  2. public static void main(String args[]) throws Exception{
  3. String s = "tekstas kuri konvertuoja";
  4. byte arr[] = s.getBytes("UTF8");
  5. for (byte x: arr){
  6. System.out.print(x+" ");
  7. }
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement