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
9
u/Own-Customer-7295 Oct 15 '26
AI slop in notes too
5
1
u/DEvilAnimeGuy Oct 16 '26
He/she/it should have modified / edited the arrows after image generation.
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
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.
1
2
0
0
u/the_prince__________ Oct 15 '26
Hey, can you share more notes with me in case you make. Its really good. :3
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!");
}