In Java, for a normal main method :
public static void main(String[] args){ // code here }
String[] args is used to take s
String[] args
It was weird that I had to pass each argument in a new line but after reading a bit it made sense to me(overlooked the fact that they(Arguments) are instances of String).