Hi,
The filename is exactly the same as the public class name. My program is as follows:
import java.util.*;
public class HelloWorld
{
public static void main (String [] args)
{
String a[] = {"1","2"};
System.out.println(a.length);
}
}
filename : HelloWorld.java