@@ -0,0 +1,1040 @@
+package com.anteoy.dataStructuresAndAlgorithm.javav2;%0A%0Aimport static jdk.nashorn.internal.objects.Global.print;%0A%0A/**%0A * Created by zhoudazhuang on 17-2-16.%0A * Description:%0A */%0Apublic class PrintString %7B%0A    public static void main(String %5B%5D args)%0A    %7B%0A        printStrs(123456789);%0A        printByte(123456);%0A        printString(123456);%0A    %7D%0A    /**%0A     * %E9%80%90%E4%B8%AA%E5%AD%97%E7%AC%A6%E6%89%93%E5%8D%B0%E6%89%80%E7%BB%99%E6%95%B4%E6%95%B0%0A     * @param n %E8%BF%99%E9%87%8C%E7%B3%BB%E7%BB%9F%E6%A0%87%E5%87%86%E8%BE%93%E5%87%BA%E6%B5%81%E6%AF%8F%E6%AC%A1%E9%83%BD%E5%8F%AA%E6%89%93%E5%8D%B0%E4%B8%80%E4%B8%AA%E5%AD%97%E7%AC%A6%0A     */%0A    private static void printStrs(int n) %7B%0A        if(n%3E=10)%7B%0A            printStrs(n/10);%0A        %7D%0A        System.out.println(n%2510);%0A    %7D%0A%0A    private static void printByte(int n)%7B%0A        String s = String.valueOf(n);%0A        byte%5B%5D bytes = s.getBytes();%0A        for (byte b: bytes) %7B%0A            System.out.println(String.valueOf(b));%0A        %7D%0A    %7D%0A%0A    private static void printString(int n)%7B%0A        String s = String.valueOf(n);%0A        char%5B%5D chars = new char%5Bs.length()%5D;%0A        s.getChars(0,s.length(),chars,0);%0A        for (char b: chars) %7B%0A            System.out.println(String.valueOf(b));%0A        %7D%0A    %7D%0A%7D%0A

add jv2