Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add features for inheritance exercise #50

Open
mikedamay opened this issue Jun 16, 2020 · 0 comments
Open

Add features for inheritance exercise #50

mikedamay opened this issue Jun 16, 2020 · 0 comments

Comments

@mikedamay
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant