wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Separating classes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Separating classes?" Watch "Separating classes?" New topic

Separating classes?

Axe Darko

Joined: Oct 28, 2008
Posts: 3
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.
arulk pillai
Ranch Hand

Joined: May 31, 2007
Posts: 3219
Study the Gang Of Four (GOF) design patterns. All depends on how you divide responsibility.
[ November 10, 2008: Message edited by: arulk pillai ]

Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
Axe Darko

Joined: Oct 28, 2008
Posts: 3
great, thanks again, I'll look into that.
I agree. Here's the link: http://aspose.com/file-tools
subject: Separating classes?
Similar Threads
Change CSS from ControllBean
How to get length of task for JProgressbar?
How to Prepare for scwcd 1.5
Framework for Swing ?
Where to put 900 parameters(variables)?