Oxane Partners interview question

OOPS in java SQL queries can we override main method