Which is defined in Object, not String
What makes you think that will work? equals is defined in Object, taking an Object as a parameter...define it any other way and and the behavior may not be...
Type: Posts; User: copeg
Which is defined in Object, not String
What makes you think that will work? equals is defined in Object, taking an Object as a parameter...define it any other way and and the behavior may not be...
Are you trying to override the equals function for Object? Object has no variable name, but your class does. If so, you must cast Object (highly recommended you check for null and that the parameter...