Object as parameter