Delhivery interview question

In how many different ways, Object can be created in java?