Tuesday, 9 August 2016

Q-6:-is it possible to create the java file without name?

ans:yes,it is possible to create the .java file
for ex;-
.java
class Test
{
    public static void main(String args[])
   {
                System.out.println("test classs");
    }
}
compile and run program:-

No comments:

Post a Comment