java creating objects to access a function code example Example: create instance object java myCar = new Car();