Infocareer interview question

All basics from java and javascript