Informatica interview question

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