r/learnjava • u/Adorable_Pickle9416 • Oct 20 '24
learn java chapter one
I know it's a question that gets asked here a lot, but how do you learn Java? I started studying for a degree and the semester is about to start and I just don't know anything. Repeatedly watching the lectures, writing on the computer and not being able to understand afterwards what I did. Don't know anything basic like double int etc. I've already thought about starting to write on pages until my hand falls off, just write again and again until it gets into my crazy head
2
Upvotes
7
u/Kubanin Oct 20 '24
Here’s how I learned and am still learning. When tackling a problem—let’s say sorting an array—first, try to solve it on your own. Keep at it until you feel like there’s no way to solve it. If you manage to solve it, great! If not, search for an answer online. Once you find a solution, analyze it and replicate it exactly as it is. There’s no need to modify it—just replicate the solution around ten times. This repetition helps your brain memorize it by building a range of options.
The key point here is that you had some intention and experienced a mini emotional state while working through the problem, which helps your brain store the experience. After working on it, take a break for a couple of days don’t think about Java during that time. Then, come back refreshed and try a new challenge. That’s it!