Java Reflection Attributes Hackerrank Solution Sql