Ok, so I like some of the answers, but for someone who has problems with concentration, these are the same old answers.
This is a problem that I am facing all the time and will be facing next year when I try to take a Java class.
The best I can tell you is to find a place where you can focus somewhere, there is minimal distraction, but it is not too quiet or too loud. Incidentally, I like the laundry room, the noise is constant, and there is little distraction.
Then find the Java formula and try to use it in what you are doing at that time. Find ways to participate in what you are trying to learn.
Like the hands of a student who, like me, from your letter, seems to be the best way to find out. To do something creative because of hearing about someone else, it can upset and remove motivation.
Good luck with your problem, and I hope this helps! :)
MMC
source share