Revature interview question

Overloading overriding ad their code SQL query Basic of java