I have been learning java for 2 months ... The problem is that the theory goes by a few, but I can’t write anything myself. This is the task of parsing:

In the text of the word of a given length to replace the specified substring, the length of which may not coincide with the length of the word.

Question: What exactly is the way to write it? (either on the thong, or on the patterns or on the sner). And is there any practice? A book or video, wherever it was all on the types as in mathematics (the teacher of mathematics).

Closed due to the fact that the issue is too general for participants Vladimir Martyanov , pavel , free_ze , Nofate 6 Oct '16 at 15:15 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Well, it is necessary on the sly. First HelloWorld, then some amount of array elements, then something more complicated. And so on. - iksuy
  • What book do you study java for? - post_zeew 2:42 pm
  • Differences !! We are preparing for the delivery of the certificate ... This is Shildt, Sierra, Ekkel, Mukhortov, Vyazovik and others - Bogdan Tanchak
  • @BogdanTanchak, Shildt has exercises, as I recall. - post_zeew

2 answers 2

To get started, go through free practical tutorials on java. For example on the codecademy . The tasks are quite interesting, after you type 100% of the course, go to codewars .

    Try to take courses at javarush. There the first 10 lectures are free. If you see your progress, you can buy the rest, if you don't like it, then look for puzzles on the Internet and just solve them. But there are a lot of practical tasks on javarush. There you can well raise your problem solving skills.