Learn AI, Data Science & Business — Earn Certificates That Get You Hired
2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Learn about the complete range of class types available in Kotlin through this comprehensive video tutorial. Master the implementation and usage of normal classes, data classes, objects for singleton patterns, data objects, enum classes for fixed sets of values, sealed classes for restricted hierarchies, abstract classes for shared functionality, open classes for inheritance, value classes for performance optimization, annotation classes for metadata, anonymous classes for one-time implementations, and inner classes for nested functionality. Follow along with detailed explanations and practical examples that demonstrate how each class type serves different programming needs and best practices in Kotlin development.
Syllabus
00:00 - Intro
00:28 - Normal classes
08:47 - Singleton Object Declaration
09:53 - Data Object
12:33 - Enum classes
17:01 - Sealed classes
22:29 - Abstract classes
26:46 - Anonymous classes
28:15 - Value classes
30:38 - Annotation classes
32:57 - Inner classes
34:27 - Outro
Taught by
Philipp Lackner