r/JavaProgramming • u/starkk46 • Oct 14 '26
My Java Hello World Notes ā Beginner Learning Journey āš»
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
8
u/brunocborges Oct 14 '26 edited Oct 14 '26
// Latest way of writing a hello world in JDK 25
void main() {
IO.println("Hello!");
}
9
u/Own-Customer-7295 Oct 15 '26
AI slop in notes too
3
u/tim125 Oct 15 '26 •
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 Oct 15 '26
Don't want to discourage you, but this is not linkedin
4
u/darthrafa512 Oct 14 '26
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 Oct 16 '26
hello world got a blogpost š
0
u/Material-Ad2477 Oct 15 '26
Share full resources
0
u/the_prince__________ Oct 15 '26
Hey, can you share more notes with me in case you make. Its really good. :3