Main() method is starting point of execution for all java applications. String args[] are array of string objects we need to pass from command line arguments. Every Java application must have at-least one main method.
public static void main(String[] args) {}