Ad
  • Custom User Avatar

    In the Java version, the description reads:

    the "name" property is accessible

    which is not true for 2 reasons:

    • the name property does not exist.
    • the fullName property is not public.
  • Custom User Avatar

    In the Java version, the description says:

    The function combines the first and last names and saves the value in "name" property.

    but the code diesn't do this. The constructor code only saves the firstName and lastName instance variables. The instance variable fullName (not name) is present but never used