main

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0

When you learn Java,Some details of the small problems tend to be very confusing,When in receive parameters, for example。

If your program needs to receive arguments in order to run,And you did not give the default parameters,That can cause this error:

For example, your code is:
[crayon-67666[……]

Click link to continue reading...

Swift as how to receive the inlet parameters like C language?

 

We all know that in the Swift language which is no longer the main function,You may understand C language or Java language students arrived at this point of deep discomfort。In short,Instead main.swift。

Swift language in which,The compiler will not[……]

Click link to continue reading...