In Java, for a normal main method :
public static void main(String[] args){ // code here }
String[] args is used to take s
String[] args
Right click on program with main method---> Select Runtime Configuration--> There you will see a box for argument on right side.