Solution.java:19: error: <identifier> expected 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();
}
}