package basic;

import java.util.Arrays;

/**
 * Created by bonismo
 * 14/10/12 上午10:35
 */
public class HelloWord {
    public static void main(String[] args) {
        System.out.println("Hello,World!");
        System.out.println("Hello,Java");

        // ASCII 排序
        System.out.println((char) 1);
        System.out.println((char) 20);
        System.out.println((char) 10);
        System.out.println((char) 2);
        System.out.println((char) 65);

        Object[] objects = {(char) 1, (char) 20, (char) 10, (char) 2};
        Arrays.sort(objects);
        System.out.println(Arrays.toString(objects));

    }
}
