import java.util.Scanner;
public class SwitchCase {
<code>public static void main(String[] args) {
Scanner obj = new Scanner(System.in);
String month = obj.nextLine();
</code>
<code>public static void main(String[] args) {
Scanner obj = new Scanner(System.in);
String month = obj.nextLine();
</code>
public static void main(String[] args) {
Scanner obj = new Scanner(System.in);
String month = obj.nextLine();
After using the Scanner class to get the value from user and importing it i still get this error unresolved compilation problem. im new to Java and tried even with the import java.util.*
New contributor
Angel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.