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