PatSeer interview question

Some Technical Question regarding to java , SQL