Skip to content

Add features for inheritance exercise #50

@mikedamay

Description

@mikedamay

See the inheritance exercise.

There are two features required:

  • Verify that the constructor of the Character class uses the protected modifier.
  • Verify that the various fields used (hit points, spell prepared and potion drunk) use the private modifier. i.e. all fields should be private

The boilerplate is here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions