Altisource interview question

SQL queries, Oop concepts, Java program