Honeywell interview question

Java oops concept database syntax