I'm assuming that you want to create a piggy-bank and print its contents, correct?
In the method named "main", which is at the top of your code:
Originally Posted by iridebmxnj
...you want to create a PiggyBank object. If you don't know how to create an object, learn here: Creating Objects (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Next, you want to call the object's printContents() method. If you don't know how to call an object's method, learn here: Using Objects (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
In short, the main method is where you specify what you want to happen. In this case, you want to create a piggy-bank and print out the contents of it.
Also, surround your code with these tags (minus the spaces between the brackets and the word code): [ code ] [ /code ]
The tags will make your code easier to read.