java functional way of creating objects and setting values code example Example: create instance object java myCar = new Car();