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...
Ok,am I far of track with what I am doing in the code,I find it hard but trying to do my best,what book would you think I should look at Norm.
Do While{ ///Multiple markers at this line
- Do cannot be resolved to a type
- Syntax error, insert ";" to complete
...
This is my do while plenty errors
Do While{ ///Multiple markers at this line
- Do cannot be resolved to a type
- Syntax error,...
Phase 3. Develop a menu driven application that allows the user to add remove and list student objects from the arraylist developed
Stuck now again on this part getting very confused.
...
import java.util.*;
public class StudentList2 { ///class
public static void main(String[] args) { ///open main
// TODO Auto-generated method stub
ArrayList<StudentApp2>...
Yes it is the first { after the for loop for (int j = 0; j < 3; j++){ and closed after the system.out statement.
I dont under stand this, as my studentlist2 is being called from my studentlist2 arraylist.
import java.util.*;
public class StudentList2 {
public static void main(String[] args) {
// TODO Auto-generated method stub
ArrayList<StudentApp2> studentlist2 = new...
This my main and my own code not copyed like someone said in a post earlier
import java.util.*;
public class StudentList2 {
public static void main(String[] args) {
This my main
import java.util.*;
public class StudentList2 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Ya will take the input from the keyboard but the second for loop wont return the fname surname and the grade.
Hi The code wont give firstname surname grade all on 1 line,example Joe Blogs recieved a grade of 40 Pass.
import java.util.ArrayList;
import java.util.*;
public class LabArray {
public static void main(String[] args) {
// TODO Auto-generated method stub
ArrayList<String> firstname...