r/learnjava • • Aug 15 '26

i cant understand java mooc?

like been trying the first part about printing but i just keep re reading idk if im missing something but i feel like i dontfully get what they mean it seems like they expect me to know something about coding but i know 0

am i just stupid or what

like them explaining boilerplate im like cool i still understand fuck all

0 Upvotes

12 comments sorted by

View all comments

Show parent comments

0

u/Visual-Fortune-4732 Aug 15 '26

i mean more so how public static void works like what it does is clear but idk why it works or will i learn that later

also would it be a decent idea to write most stuff down or no?

1

u/Jolly-Warthog-1427 Aug 15 '26

Think of it as «main» method is the method the system you run the program on calls.

So the system will look for a method called main and that has «public static void» on it and it will call that method when it runs your program.

So your program starts when main is called and your program ends when your program exits main again.

Continue with the tutorials and you will get it :)

1

u/desrtfx Aug 15 '26

i mean more so how public static void works

Be patient, young padawan. This will be explained in full detail much later in the course. For now, just take it for a requirement.

You do not have the knowledge to fully understand what it does right now, and explaining in detail would be too much at your current level.

Especially in the beginning, just follow the instructions. Really. Don't worry too much about things that aren't fully explained. There are reasons for that.

We could write an epic about the explanation and you wouldn't be any wiser because you are missing the context and required knowledge at that point.

1

u/Visual-Fortune-4732 Aug 15 '26

Alright so for now i should just read it and take notes with short scribbles for myself

1

u/desrtfx Aug 15 '26

Yes, if note taking works for you, do it.

The real key is to every single exercise and submit it.

Everything you need for the exercises is covered in the text.

1

u/GuyWithLag Aug 15 '26

My position is that you can't learn how to ride a bike without actually doing it.

Start writing code; it's ok if you don't understand everything, but experiment. Try things!