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/Adorable_Pickle9416 Oct 20 '24

https://java-programming.mooc.fi/ im starting using the link you guys sended me

and now im also write on paper things i need to remind me like big "S" and ; in the end of line

its not okay to write important things? or is a lot of work?

1

u/jlanawalt Oct 20 '24

It doesn’t matter for learning the concepts, and can slightly slow your writing but it is good practice to use the right syntax. Focus on the logic and concepts I’d syntax is tripping you up, but eventually you need both abs it’s good to practice the syntax along the way.