IBM interview question

HR asked me very few questions on Java and SQL