Atos-Syntel Interview Question

Different ways of creating a java object.