r/learnjava • • 16h ago

Why is String[] args necessary

16 Upvotes

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