An example of a function in Java that consumes a parameter of type Object is System.out.println(Object o)

Many such cases.