Try to better explain your problem. What you posted is difficult to quite understand.
Also, don't tell me that your teacher hasn't showed how to write a single class with attributes and get/set methods. Or don't you have a book or notes with examples?
Reputation Points: 1005
Solved Threads: 446
Nearly a Senior Poster
Offline 3,256 posts
since Dec 2007