Oxane Partners interview question

OOPS, Java Basics, SQL simple queries, puzzels