ANR Software interview question

SQL Queries, Basic oops concept of java