Sopra Steria interview question

OOPS , Logical Thinking , SQL and JAVA