I was trying to implement a method from an interface in JAVA. But this method receives an object. While compiling my code, I was getting an error that is;
err