Sign in to follow this  
Slayton26

Need more practice

Recommended Posts

Hi. I have been working and learning Java out of "Java For Dummies, 4th Edition" and have gotten through a little over half the book. To this point, I am loving it and am understanding just about all of it, after reading it over a few times. The only problem I have is that I am reading through it all fine, but I feel like I will forget it just as soon as I finish reading it if I don't get practice making more programs using the features and techniques taught to me. So my question to you all is, are there any books/online tutorials or something that can give me ideas on what type of programs to make to practice all the stuff I have learned. I will even take ideas from you guys if you are willing to shell them out. :]

Share this post


Link to post
Share on other sites
The only way to get good at programming is to program. Depending on how advanced you are, you could start with things like, have the user input numbers, either 1 at a time or if you want to get more advanced all at once seperated by a comma, and then create methods to find all odd numbers, all even numbers, the average, the sum, etc.

Depending on what concepts you have seen in the book so far, you could make this in one class or 2 1 maybe called Number and store all the data and methods in that class and then have a seperate class with main that calls the methods from the Number class.

If you want to get more interesting, you could do something like simple text based 2 player tic tac toe, played by 2 players sitting at the same computer with the same mouse and keyboard, no computer player.

I was always faced with this same question when i was learning of what is a good program to do to practice what i had learned. The most important thing to remember is it is going to take time to complete a program at first, but its ok to set the book aside for a while and work on programs like these, you will find you will get more from it that way. Also, its important to FINISH programs and not just get some of the functionality done and then stop. Just some thoughts, i hope they help.

Share this post


Link to post
Share on other sites
Check out the Stanford Itunes Java video's. They got all kinds of cool examples they build throughout the lectures that should give you some ideas of the varied applications you can build with Java.
For example, they build a hangman game, online music store, breakout, social chat application,etc.
But at some point it's like learning to play a musical instrument or learning a new language. If you don't practice yourself you aren't going to get any better :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this