Two ways to create an object