Search:

Type: Posts; User: Ubiquitous

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    1,342

    Re: Help with boolean logic please!

    I was asking about the main Method because I am don't see isHeavyBook() invoked anywhere in you Book Class I might just be missing it though. I am unsure how it is suppose to be implemented without...
  2. Replies
    8
    Views
    1,342

    Re: Help with boolean logic please!

    Well the getters you have don't really prove the need for an argument to be passed down to them.
    For example


    Book b = new Book();
    b.setTitle("Some book");
    System.out.println("Title: " +...
  3. Replies
    8
    Views
    1,342

    Re: Help with boolean logic please!

    A few questions for you:
    1. Why do you pass a getter an argument? public double getRetailCost(double bookCost)
    To invoke it the programmer would have to write out Book.getRetailCost(3.99); or any...
Results 1 to 3 of 3