Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,576

    Re: variable not recognised

    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...
  2. Replies
    4
    Views
    1,576

    Re: variable not recognised

    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...
Results 1 to 2 of 2