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

1

u/YacineLim Oct 21 '24

Not understanding what you do, the logic behind a program, or how Java works, in general, is a big problem, you have to understand, the concepts of class and objects, a key thing in every object oriented programming languages, you have to understand methods, Conditions, loops etc, you have just to ask the Wright question, AI models are very useful for this,

Testing your knowledge, don't just copy past programs and try them. You will never understand that way, tackle problem by yourself, and when you face issues, ask about them, put your code in this sub for example, ask AI models, but be careful, util you start understand the logic behind each class, the logic behind their methods etc.

All of this at your pace, but with a lot of practice and you will see amazing results.

Good luck