learn java
The moose likes Java in General and the fly likes Best way to practice Java coding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Best way to practice Java coding" Watch "Best way to practice Java coding" New topic

Best way to practice Java coding

Harish V Gupta
Ranch Hand

Joined: Dec 17, 2011
Posts: 37
Hi guys,
what is the best way to practice coding?? "Do coding" will be the last answer that I expect.
I mean which book should I refer to, where can I get the exercises from and all that..
John Jai

Joined: May 31, 2011
Posts: 1776
You can yourself think of small requirements such as student grade system, store ERP software and try developing it.
Make sure the code follows Code Conventions and get it evaluated.
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 3679

Games are great for practice.

Set yourself the challenge of making a game such as tic-tac-toe, quarto or even chess. Make your first task to be able to play the game through the console. Then try adding a GUI. You should also add multiplayer through LAN. Finally you can attempt writing a computer AI for the game.

You can learn a lot of different things from such a challenge. The project usually also becomes big enough that you have to learn how to structure it well.
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: Best way to practice Java coding