209
An After-School Program Teaches Teens Java and Python
(spectrum.ieee.org)
This is a most excellent place for technology news and articles.
PUBLIC STATIC VOID MAIN STRING ARGS
INT MAIN INT ARGC CHAR POINTER ARGV ARRAY BODY
Say it with me:
PUBLIC STATIC VOID MAIN STRING ARGS
PUBLIC STATIC VOID MAIN STRING ARGS
you know how it goes
It feels like some arcane spell when you first learn it, but once you are familiar with Java, each token in that declaration feels totally justified. Like yeah, the args are an array of strings. Yeah, the main function needs to be static and public. Yeah, it doesn't return anything inside the JVM, so it's void.
As of java 21, you can actually just use:
void main()
You'll definitely get to use Java 21 in whatever job you get.
This had me burst out in laughter real hard omg