Informatica Interview Question

whats the diff btw java n c why cant we use private for the main class??