error: <identifier> expected co.hello(); 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();
}
}