หลังจากตรวจสอบแล้ว Kotlin มักจะทำการร่ายอย่างชาญฉลาดโดยไม่มีการแสดงออกของการร่าย Java เพิ่มการจับคู่รูปแบบสำหรับอินสแตนซ์ของ — การเชื่อมโยงตัวแปรในขั้นตอนเดียว — และอินเทอร์เฟซ/คลาสที่ปิดผนึก (Java 17+) เพื่อจำกัดประเภทให้แคบลงคล้ายกับ Kotlin ที่ปิดผนึก + เมื่อ แม้ว่าความรู้สึกจะแตกต่างก็ตาม

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.