DEV Community

S Sarumathi
S Sarumathi

Posted on

Program And Error

Program:

public class Home
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

1.

public class Home
{
public static void main(String() args)
{
System.out.println("Hello World");
}

Enter fullscreen mode Exit fullscreen mode

}
Output:

2.

public class Home
{
public static void main(String[] args)
{
System.out.println("Hello World")
}
}

Enter fullscreen mode Exit fullscreen mode

Output:

3.

public class Home
{
public static void main(String[] args)
{
System.out.println("Hello World);
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

4.

public class Home
{
public static void main(String[] args)
{
System.out.println(Hello World);
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

5.

public class Home
{
public static void main(String[] args)
{
system.out.println("Hello World");
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

6.

public class Home
{
public static void main(string[] args)
{
System.out.println("Hello World");
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

7.

public void Home
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

8.


public class home
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
Enter fullscreen mode Exit fullscreen mode

Output:

9.

public class Home
{
public static void main(String[] args)
{
System.out.println("Hello World");
}

Enter fullscreen mode Exit fullscreen mode

Output:

10.

public class Home
{
public static void main(String[] args)
{
System.out.Println("Hello World");
}
} 

Enter fullscreen mode Exit fullscreen mode

Output:

Top comments (0)