Item 12: Always override toString

Override clone judiciously

effective-java阅读03天
effective-java阅读03天

Item 14: Consider implementing Comparable

effective-java阅读03天

Item 15: Minimize the accessibility of classes and members

effective-java阅读03天

Item 16: In public classes, use accessor methods, not public fields

Item 17: Minimize mutability

相关文章:

  • 2022-01-12
  • 2021-11-17
  • 2021-11-12
  • 2021-07-12
  • 2021-08-19
  • 2021-05-24
  • 2021-11-21
猜你喜欢
  • 2021-10-23
  • 2021-01-24
  • 2021-06-07
  • 2021-11-26
  • 2022-12-23
  • 2022-02-20
相关资源
相似解决方案