r/learnjava • • 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

23 comments sorted by

View all comments

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!

-2

u/Adorable_Pickle9416 Oct 20 '24

thank you all for advice's

i think i will stick with the option to write on paper

3

u/Hi_Im_Ken_Adams Oct 20 '24

Write on paper? You need to be using a computer.

You learn by doing, not by reading.

1

u/Acceptable-Sound-495 Oct 24 '24

I study it it through online sessions, after the course i write everything down. Try some programing with the things i learned. If i fail i try to analyze whats wrong. If nothing works out for ne i try to take a look on chatgpt

 //pls no hate. If theres a better source for solutions please provide it to me :)