Unicode in Java

How many times “Hello World!” will be printed? 😉

public static void main(String... args) {
    // The comment below is no typo.
    // \u000d System.out.println("Hello World!");
    System.out.println("Hello World!");
}

answer

Leave a Reply

Your email address will not be published. Required fields are marked *