Pergunta de entrevista da empresa Infosys

1.Describe public static void main(String args[])? (the 1st question that i was asked) 2.Life cycle of a Thread. 3.Diff between HashMap and HashSet. 4.Diff bet Error and Exception