|
That is not different than any other language.
First you need to understand its algorithm. After understanding the algorithm fully, try to design it. Decide whether it will be an object oriented solution or not.. If it will be an object oriented solution, try to find your objects. You don't need the find most generic solution in this design, just try your best. In fact you can even write the code as a combination of function calls just like in C.
After you start coding, if you need help on Java side (e.g. getting input or using a library class), let us know. We will try to help you.
|