r/javahelp • • Oct 12 '26

Homework What the hell is going on?

Hello everybody, I am so lost. I just started learning Java and while i think its extremely interesting, and can loose track of time. It is also very complicated, well atleast to me since i dont have any prior experience.

I just ”learnt” to write my first Hello World! Code. But tbh i only copied the text straight off a youtube video.

Thing is i understand the main command, like: System.out.println(”Hello World!”);

But what is this whole main class and static void things? Not to mention all the {} symbols that seem to be oddly placed?😅

If anyone could explain or know a good youtube video or similiar to learn id appreciate it a lot!

12 Upvotes

53 comments sorted by

View all comments

Show parent comment

3

u/YetMoreSpaceDust Oct 12 '26

You're asking the right sorts of questions - don't get discouraged, there's a lot to learn (and not all of it makes sense without some historical context).

2

u/Best_Cut4655 Oct 12 '26

Tysm! Ive watched a little more videos so im starting to atleast get the hang of classes :,)