0
(spanish) andaba practicando códigos y me paso esto
1 Respuesta
+ 3
You are printing the scanner object.
Try this instead:
Scanner xd = new Scanner(System.in);
int number = xd.nextInt();
switch(number){
case 1:
System.out.println(number);
}