Question d’entretien chez Cognizant

Why do you use private static void main() in java to run a program?