Chuyển đổi file .jar sang .exe

Java Tutorial

Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. This tutorial gives you a complete understanding of Java.

This reference will take you through simple and practical approach while learning Java Programming language.

Click here: http://www.tutorialspoint.com/java/

Gọi đệ quy hàm main

public class FunctionCallMain {
    private static int a = 0;
    public static void main(String[] args) {
        if (a == 2)
            System.exit(0);
        else ++a;
        System.out.println("This is main");
        callMain();
        
    }
    
    public static void callMain() {
        System.out.println("This is a function call main function");
        main(new String[]{"Son"});
    }
}