Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: IceCreamCone Project ...I'm so confused, I don't even know where to start

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Thanked 0 Times in 0 Posts

    Default IceCreamCone Project ...I'm so confused, I don't even know where to start

    create a driver class that uses IncredibleIceCreamClass. Your driver class must meet the following minimum criteria:

    1. Your driver must create at least three ice cream cones.

    2. You must create at least two separate objects of type IncredibleIceCreamClass.

    3. At least one of your objects must be used twice to create two different types of ice cream cone.

    4. Your driver class must be named IncredibleIceCreamCone

    public void powerOn() // sets the machine ready to serve the selected ice cream

    public void powerOff() // set the machine in the off/default state

    public void setSize (int) // selects the size to serve, 0 (small) through 3 (huge)
    public String getSize() // returns the current serving size

    public void setFlavor (int) // selects the flavor, 0 (chocolate), 1 (vanilla), 2 (swirl), 3 (strawberry)

    public String getFlavor() // returns the current flavor selection

    public void setSprinkles(boolean) // turns the sprinkles option on or off

    public boolean getSprinkles() // returns the current state of the sprinkles option

    public String serve () // returns the prepared ice cream cone

    it should look like this:

    C:\Users\evan\java\p3>java IncredibleIceCreamCone

    Here is your medium strawberry ice cream cone with sprinkles. It's delicious!

    Here is your huge chocolate ice cream cone. It's delicious!

    Here is your large swirl ice cream cone with sprinkles. It's delicious!

    I have the IncredibleIceCreamClass.class file...if you need it

  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    My Mood
    Thanked 263 Times in 232 Posts

    Default Re: IceCreamCone Project ...I'm so confused, I don't even know where to start

    I have the IncredibleIceCreamClass.class file...if you need it
    I don't need it. This is not my homework.
    But if you have a question you may want to post the class file.

    ..then, you may also want to post your question too. This is not a homework service.

  3. The Following User Says Thank You to jps For This Useful Post:

    cmis141 (December 26th, 2012)

  4. #3
    Junior Member
    Join Date
    Jul 2012
    Thanked 2 Times in 1 Post

    Default Re: IceCreamCone Project ...I'm so confused, I don't even know where to start

    Sky82, the term is over and final grades submitted, so I reckon you'll not check back in here. I hope you also reached out to me and were able to gain an understanding of this project.

    I'm always mildly surprised to find posts on these projects. Every term, I change project names to something that doesn't otherwise pop up in Google searches, and I post a link to students showing how previous students fail by blatantly trying to get their homework done for them in programming forums (like the excellent javaprogrammingforums.com). The project names are thus always easy to find in a search, and it's surprising to me just how surprising it is to students that I actually lurk around Java programming forums. All I ask is that students try me first, and then make cries for help in the void second.

    -- Andy, your friendly neighborhood CS1 and CS2 instructor.
    andrew dot seely at faculty.umuc.edu.

Similar Threads

  1. Replies: 2
    Last Post: November 18th, 2012, 02:09 PM
  2. Replies: 0
    Last Post: July 2nd, 2012, 09:11 PM
  3. I don't know where to start.
    By fidl7ss in forum What's Wrong With My Code?
    Replies: 4
    Last Post: July 1st, 2012, 04:34 PM
  4. Can someone please help me get a start on this project?
    By MLeclerc in forum Object Oriented Programming
    Replies: 1
    Last Post: April 25th, 2012, 09:30 AM
  5. Replies: 11
    Last Post: February 10th, 2012, 05:38 PM