iConsultus interview question

Theory based questions from JAVA