BAE Systems USA interview question

Mostly Java and SQL knowledge