Morgan Stanley Interview Question

How many ways to create an object in java