Search:

Type: Posts; User: NPVinny

Search: Search took 0.34 seconds.

  1. Replies
    12
    Views
    1,073

    Re: Help with assignment

    Yep. This was the problem. Thanks!
  2. Replies
    12
    Views
    1,073

    Re: Help with assignment

    public class BikeShop {

    private Bike[] bikes;
    private int totalbikes;
    private double gross;
    private final static int SIZE = 30;

    //Constructor method
    public BikeShop() {
    ...
  3. Replies
    12
    Views
    1,073

    Re: Help with assignment

    You could have easily said that in your last post.


    public void listDetails() {
    int i;
    System.out.println();
    System.out.println("Name Size Color ...
  4. Replies
    12
    Views
    1,073

    Re: Help with assignment

    Sorry, should have mentioned that that method is part of a class the professor provided, and we aren't supposed to touch.

    Here's what it looks like:


    public void addNew(Bike b) {
    if...
  5. Replies
    12
    Views
    1,073

    Help with assignment

    I'm in my first Java class and I'm having a hard time figuring out why this code isn't working for my assignment. The code here is asking the user to input the name of a bike. inStock will check...
Results 1 to 5 of 5