method to create new instance of object java code example Example: create instance object java myCar = new Car();