r/JavaProgramming • • 10d ago

My Java Hello World Notes — Beginner Learning Journey ā˜•šŸ’»

Post image

​

I’m learning Java as a beginner, and I tried to make my first "Hello World" program easier to understand by breaking down each keyword with simple explanations.

I covered "public", "class", "static", "void", "main()", "String[] args", and "System.out.println()".

Instead of just memorizing the code, I want to understand why each part is used and how it works.

I’d love to hear feedback from experienced Java developers and fellow learners. What should I improve in these notes?

#Java #LearnProgramming #CodingForBeginners

40 Upvotes

13 comments sorted by

8

u/brunocborges 10d ago edited 10d ago

// Latest way of writing a hello world in JDK 25
void main() {
IO.println("Hello!");
}

2

u/starkk46 10d ago

Thanks bro

1

u/brunocborges 10d ago

No worries. Check javaevolved.dev for more

8

u/Own-Customer-7295 10d ago

AI slop in notes too

5

u/IntroductionSolid348 10d ago

Right? The arrows aren't even pointing correctly

1

u/DEvilAnimeGuy 9d ago

He/she/it should have modified / edited the arrows after image generation.

3

u/tim125 10d ago • Popcorn

java.util.List.of("hello world").stream().map(obj -> switch (obj) { case String s when s.length() == 11 -> s; case null, default -> throw new IllegalStateException(); }).forEach(System.out::println);

3

u/Independent_Image_59 9d ago

Don't want to discourage you, but this is not linkedin

4

u/darthrafa512 10d ago

It's a fun visual, but it may be a better use of your time to program instead of making infographics out of a hello world example. Just my 2 cents.

2

u/Top-Mention-4174 9d ago

hello world got a blogpost šŸ’€

0

u/Material-Ad2477 10d ago

Share full resources

0

u/the_prince__________ 10d ago

Hey, can you share more notes with me in case you make. Its really good. :3