HOW TO PRINT HELLO WORLD WITH OUT MAIN FUNCTION IN JAVA


Post a Comment

1 Comments

  1. public class Hello
    {
    static
    {
    System.out.println("Hello World");
    System.exit(0);
    }
    }

    ReplyDelete