Java Java Objects Delivering the MVP Arrays and Command Line Arguments

Ranvir Sahota
Ranvir Sahota
9,844 Points

When to use args

In which situations are you to use array args defined in the main method. Please include examples for consoles, GUIs and other interfaces.

1 Answer

Steve Hunter
Steve Hunter
Treehouse Moderator 57,656 Points

Hi Ranvir,

Having a search through Stack Overflow will give you lots of answers to this - try here for starters. This is usually a console-based requirement; GUI management will take care of it for you.