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.

This is the stub code my professor gave us.
these are the only 3 method we are supposed to have, also 1 constructor.
I am clueless on how to complete the explore method he made it print this line so we can figure out what to write in replace of it. The information he gives us on this method is:A new Picture is made whose height is the max of the heights, and width is the
sum of the widths of the stored Picturess. The Pictures in the Album so far are
copied into a new Picture and that Picture is displayed by calling the
explore() method on it. All the added Picture copies should start at the top of
the new Picture and be laid out horizontally, with no overlaps or gaps.

He doesn't really tell us much info on what we are supposed to be writing in on this. Also I do not know much about class files as this is the first thing we have done with them. If I try to run this it says Static Error: This class does not have a static void main method accepting String[].

Re: Clueless on classes

To the original poster, while cross-posting is allowed in this forum, doing so without notifying all threads can frustrate anyone who tries to help you when they find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be that if you feel that you absolutely must cross-post, to at least provide links in both cross-posts to each other.

--- Update ---

And your error message is telling you exactly what is wrong -- you can't run a Java program without a main method. Please have a look at the introductory Java tutorials which you can find here: