File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 4629

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.

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
I agree. Here's the link:
subject: Best way to practice Java coding
It's not a secret anymore!