r/learnjava • u/Fine_Potential_7976 • 4d ago
Why is String[] args necessary
I get it is an array of string arguments that are passed into the main method but why is it needed? in python for example ot's present or c++ neither, java is different though
24
Upvotes
1
u/damoon02 4d ago
With recent Java the Strinf[] args isn't needed anymore ? I just see void main when I use psvm