Answers:
These are just for ones own practice.
class Hello
{
public static void main(String args[ ])
{
system.out.println(" Java file name and class name should be same");
}
}
Class Hello
{
Public static void main(String arts[ ])
{
System.out.println("Java file name and class name should be same");
}
}
class Hello
{
public static void main(String args[ ])
{
system.out.println(" Java file name and class name should be same");
}
}
class Hello
{
public static void main(String args[])
{
System.out.println(" Java file name and class name should be same");
}
}
class Hello
{
public static void main(String args[])
{
System.out.println(" Java file name and class name should be same");
}
}
class Simple
{
public static void main(String args[])
{
System.out.println(" Java file name and class name should be same");
}
}
class Simple
{
public static void main(String args[])
{
System.out.println(" Java file name and class name should be same");
}
}
Login to add comment