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 2 of 2

Thread: Re: Writing Classes Exercises

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Thanked 0 Times in 0 Posts

    Default Re: Writing Classes Exercises

    i have question about the part 1.6

    The class has the method String showShapes(), which returns a string representation
    for all shapes in the collection or a message “There are no shapes in the collection” if
    the collection is empty.

    How i'am going to solve this ? i couldnt find a solution.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,417 Times in 2,370 Posts

    Default Re: Writing Classes Exercises

    Please start your own thread in future. This moved to new thread.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Writing Classes Exercises
    By david1 in forum Object Oriented Programming
    Replies: 3
    Last Post: May 2nd, 2014, 06:42 AM
  2. Need some exercises to practice ?
    By Nerc in forum Java Theory & Questions
    Replies: 1
    Last Post: May 1st, 2014, 07:58 AM
  3. Replies: 1
    Last Post: April 6th, 2014, 02:49 AM
  4. Programming exercises
    By leo.trim in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 19th, 2013, 06:12 PM
  5. Arrays exercises and tasks
    By 1click in forum Java Code Snippets and Tutorials
    Replies: 3
    Last Post: October 20th, 2013, 05:29 PM