error identifier expected in java code example
Example: java identifier expected
public class MyClass {
public static void main(String[] args) {
UserInput input = new UserInput();
input.name();
}
}
public class MyClass {
public static void main(String[] args) {
UserInput input = new UserInput();
input.name();
}
}