making an object of a class in java code example Example: java create new object Car mycar = new Car();