ANR Software interview question

Basic Questions related to RDBMS and Java