Need more practice
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. :]
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.
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.
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 :)
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 :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement