getClass().getSuperclass().getName();
-----调用父类
子父类调用
getClass().getName();/super.getClass().getName();
-----调用子类
子父类调用

相关文章:

  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2021-05-08
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-07-24
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案