Kotlin ตั้งค่าเริ่มต้นเพื่อความปลอดภัยแบบเงียบ: คลาสถือเป็นที่สิ้นสุด — ไม่มีใครจัดคลาสย่อยให้คุณ เว้นแต่คุณจะเชิญคลาสแบบเปิดอย่างชัดเจน ฟังดูเข้มงวด แต่ช่วยให้คุณประหยัดจากการแทนที่ด้วยความประหลาดใจในโค้ดเบสขนาดใหญ่ เมื่อคุณต้องการมรดก ให้ทำเครื่องหมายฐานเป็นเปิดและแทนที่รายการย่อย

เปิดบอกว่าเข้ามาได้เลย
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.