r/javahelp • u/Miserable_Bar_5800 • Jan 29 '26
What is a public static void?
Why do some not include public in it, like:
static void
why not add public?
what does public even mean?
0
Upvotes
r/javahelp • u/Miserable_Bar_5800 • Jan 29 '26
Why do some not include public in it, like:
static void
why not add public?
what does public even mean?
View all comments
Show parent comment
1
u/Miserable_Bar_5800 Jan 30 '26
tnahnks for the help but i was just confused about it because i already tried it with public and without and it showed the same output