|
When I create my CD class, I have CD related data and methods operating on that data. Essentially, I am not binding my CD to a Player!!! I am just exposing an interface for CD players to use!!!
SO IT SEEMS, YOU MISSED THE POINT OF O-O Programming!!! OOPS rightly teaches the Generalization-Specialization mechanism of software development which is in essence the basis for SOA!!!
Regards,
Sank.
|