Download: DOG Class (.pdf)
Look through this project. It's simple and should make sense. I have labelled each part of the code for you.
Your task is to create a new project in BlueJ called "Dog".
Try to copy and paste the code from my example in to your project and compile it. Does it work?