My code is not running


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

public class your name {
public static void main(String args []); {
System.out.println(“dolapo”);
}
}
YourName.java:1: error: ‘{’ expected
public class your name {
^
1 error



Replace this line with your code. 



#2

public class your name {

you shouldn’t have the space for class name. use camel case or _ instead.

and here

public static void main(String args []);

remove the ; at the end


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.