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