I dont have any errors now in the code but after it runs I get an error when running it,problem with the scanner and int.
Please choose and option:[1-4].
1 - Add a Student.
2 - Delete a Student....
Type: Posts; User: Scooby
I dont have any errors now in the code but after it runs I get an error when running it,problem with the scanner and int.
Please choose and option:[1-4].
1 - Add a Student.
2 - Delete a Student....
The IDE I am using is eclipse,I did what you said but now getting an error with the default case it is unreachable code?
Exception in thread "main" java.lang.Error: Unresolved compilation problem:...
Sorry ya your right i dont know how to indent the code never did it,this 1 error is driving me around the bend,can you see my mistake because i cant for the life of me.
import java.util.ArrayList;
import java.util.Scanner;
public class StudentMenu {
public static void main(String[] args)
{
ArrayList<Student> studentlist = new...
import java.util.ArrayList;
import java.util.Scanner;
public class StudentMenu{
public static void main(String[] args)
{
ArrayList<Student> studentlist = new...