Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String args[]) throws Exception {
        String s = "0123456789";
        byte ptext[] = s.getBytes("UTF8");
        for (int i = 0; i < ptext.length; i++) {
            System.out.print(ptext[i] + ",");
        }
    }
}