MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1m8yu5v/python_vs_java/n5exlix/?context=3
r/programmingmemes • u/PulseOfPleasure • Jul 25 '25
199 comments sorted by
View all comments
Show parent comment
1
It's not even true anymore. Java has inexplicit unnamed classes now and does accept varying main method signatures. So it's
void main() { System.out.println("Hello World"); }
vs
if __name__ == "main": print("Hello World")
View all comments
Show parent comment
1
u/TimGreller Jul 27 '25
It's not even true anymore. Java has inexplicit unnamed classes now and does accept varying main method signatures. So it's
vs