Joann Dsouza answered question 4/29/2007 Why Do We Use "Public Static Void Main(String[] A)" In Java? A static function can be invoked without creating an object of the class. Since the main function is the one that begins execution of the program, it can be made into a static function so it can be invoked anywhere.