Find the error in the following program and rewrite the program again correctly:
public class Hello
{
public state void mains(String args[])
{
System.println(“This is my first java program”);
}
}
Answers
Answered by
0
public class hello {
public static void main (String args [ ])
{
System.out.println("this is my first java program");
}
}
Answered by
0
Answer:
Explanation:
public class hello
{
public state void mains(String[] args)
{
System.out.println(“This is my first java program”);
}
}
Similar questions