Designing with Sealed Classes by Venkat Subramaniam

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ค. 2024
  • Object-Oriented programming has been around for a long time and it paradigm has been part of Java since its birth. Thus, it may be surprising to see that a new OO feature has emerged in Java. Sealed classes and sealed interfaces are a way to promote reuse while restricting unwanted extensibility. Come to this presentation to learn from a practical example how this feature can save so much effort to provide the capabilities and, at the same time, enforce the restrictions you'd want to place.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น •