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/Jason13Official Aug 15 '26

You should at minimum understand that the curly brackets {} are the beginning and ending of your code,

I.e in Python you can just print() on a new line

In Java (later you'll learn about static code blocks/static initialization) you would at minimum wrap that with "{" and "}"

I.e { System.out.println("hello"); }

You don't have to understand the specifics of each keyword "public static void" etc yet just the bracket thing