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