Pregunta de entrevista de Wipro

1.Can any program be executed before main function?Give an example. 2.Why multiple inheritance is not supported in java? 3.Differences between primary key and unique key?