Search:

Type: Posts; User: dasoonmoo

Search: Search took 0.09 seconds.

  1. Re: Why when I have successfully added my parts, the output is null and false?

    Do you mean something like this?



    import static org.junit.Assert.*;

    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    import java.util.ArrayList;
  2. Re: Why when I have successfully added my parts, the output is null and false?

    I am not sure which part is causing my output to have an error.
    this is my bikeparts class:




    public class BikeParts{

    //declare class parameters
    private String partName;
  3. Re: Why when I have successfully added my parts, the output is null and false?

    This is my output:

    Option 1: View all Bike Parts
    Option 2: Add a new Bike Parts
    Option 3: Delete a Bike Parts
    Option 4: Exit
    Enter option > 2
    Enter Part Name > wheels
    Enter Description >...
  4. Why when I have successfully added my parts, the output is null and false?

    import java.util.ArrayList;
    public class BikePartsDB {
    private static ArrayList<BikeParts> bikepartsList = new ArrayList<BikeParts>();

    public static void showBikePartsMenu() {
    //Display the...
Results 1 to 4 of 4