Infosys Interview Question

Can we override main method in java.