Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- import java.lang.*;
- import java.nio.charset.StandardCharsets;
- public class Main {
- public static void main(String[] args) {
- String s = "zdravo";
- byte[] bytes = s.getBytes();
- for(int i = 0; i < bytes.length; i++) {
- System.out.write(bytes[i]);
- }
- System.out.flush();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement