QUOTE(William_Wilson @ 7 Mar, 2007 - 05:04 PM)

there are a couple issues with your testing code:
Square square1 = new squareOne ( 50 );
should be:
Square square1 = new Square ( 50 );
you are calling the constructor of Square to return a Square object, there is no such thing as squareOne in your program so i doubt that could work.
*similarly for your circle.
also:
double side = Square.getSide();
will not work, Square is not a static class and getSide is not a static method, thus you cannot call this class in this way, because you have instantiated objects that are copies of Square, but the name Square itself, does not represent anything that can be called. Only instantiated.
thank you i think it would havehelped but i forgot to check back on her because it was my first day on the site... Are you a professional coder? because I am stuck in a java class meaning a real class at CSM and I do not have a clue in almost all of the project of what I have to do... can you be like a tutor... and help with everything... I can pay you or can u just help me out on some stuff?