Search:

Type: Posts; User: Scooby

Search: Search took 0.18 seconds.

  1. Re: Getting 1 error in my menu driven code for students add,delete and list.

    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....
  2. Re: Getting 1 error in my menu driven code for students add,delete and list.

    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:...
  3. Re: Getting 1 error in my menu driven code for students add,delete and list.

    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.
  4. Re: Getting 1 error in my menu driven code for students add,delete and list.

    import java.util.ArrayList;
    import java.util.Scanner;
    public class StudentMenu {
    public static void main(String[] args)
    {

    ArrayList<Student> studentlist = new...
  5. Getting 1 error in my menu driven code for students add,delete and list.

    import java.util.ArrayList;
    import java.util.Scanner;
    public class StudentMenu{
    public static void main(String[] args)
    {

    ArrayList<Student> studentlist = new...
  6. Re: Can any one tell me why I am getting an error

    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.
  7. Re: Can any one tell me why I am getting an error

    Do While{ ///Multiple markers at this line
    - Do cannot be resolved to a type
    - Syntax error, insert ";" to complete




    ...
  8. Re: Can any one tell me why I am getting an error

    This is my do while plenty errors




    Do While{ ///Multiple markers at this line
    - Do cannot be resolved to a type
    - Syntax error,...
  9. Re: Can any one tell me why I am getting an 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.


    ...
  10. Re: Can any one tell me why I am getting an error

    import java.util.*;

    public class StudentList2 { ///class

    public static void main(String[] args) { ///open main
    // TODO Auto-generated method stub

    ArrayList<StudentApp2>...
  11. Re: Can any one tell me why I am getting an error

    Yes it is the first { after the for loop for (int j = 0; j < 3; j++){ and closed after the system.out statement.
  12. Re: Can any one tell me why I am getting an error

    I dont under stand this, as my studentlist2 is being called from my studentlist2 arraylist.
  13. Re: Can any one tell me why I am getting an error

    import java.util.*;

    public class StudentList2 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub

    ArrayList<StudentApp2> studentlist2 = new...
  14. Re: Can any one tell me why I am getting an error

    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) {
  15. Can any one tell me why I am getting an error

    This my main


    import java.util.*;

    public class StudentList2 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
  16. Re: Hi can any have a look at my code and see how I am going wrong with my array list out put,the mark is not outputing

    Ya will take the input from the keyboard but the second for loop wont return the fname surname and the grade.
  17. Re: Hi can any have a look at my code and see how I am going wrong with my array list out put,the mark is not outputing

    Hi The code wont give firstname surname grade all on 1 line,example Joe Blogs recieved a grade of 40 Pass.
  18. Hi can any have a look at my code and see how I am going wrong with my array list out put,the mark is not outputing

    import java.util.ArrayList;
    import java.util.*;

    public class LabArray {

    public static void main(String[] args) {
    // TODO Auto-generated method stub


    ArrayList<String> firstname...
Results 1 to 18 of 18