Hello all, I am almost done reading HeadFirst Java and I am having trouble figuring out when and how to separate classes so that I don't have one giant class to run everything, but this book doesn't seem to have a good example of this. How would any of you separate the classes in the final beatbox client for example? Are you able to? Would I have to pass lots of arguments between the classes and importing all the packages over and over again? Thanks for the help.
posted 7 years ago
Study the Gang Of Four (GOF) design patterns. All depends on how you divide responsibility. [ November 10, 2008: Message edited by: arulk pillai ]