I have to generate OOP code for a system that tracks my CDs and DVDs. I have gotten through the defining of class and subclass and don't know what to do next. Do I need to create the records and then sort?

Post a pseudocode and tell us where you got stuck. Mention also the language you are supposed to be coding.

Even better, post your complete code, if you can.