creating object with propertie java code example Example: create instance object java myCar = new Car();