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

refactor with base class, extended, super, test with the amount of declared-fields #291

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

buuoltwo
Copy link

@buuoltwo buuoltwo commented Dec 6, 2024

  • 这个PR解答了当前仓库中的题目(机器人会自动判题并合并当前PR)
  • 这个PR修复了当前仓库中的一些代码缺陷(机器人不会判题,而是由管理员来处理当前PR)

ClassInspector.assertNoDeclaredFields(Cat.class, Dog.class, Rat.class);
Assertions.assertEquals(1, Dog.class.getDeclaredMethods().length);
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

Successfully merging this pull request may close these issues.

1 participant