Module 5 of 5 in Learn the Kotlin Language

Advanced Kotlin Class Features

Share
Save for later

Module outcomes

  • Able to define generic classes and methods
  • Can leverage code contracts by way of abstract classes
  • Understand static members
  • Able to create enumerations and use in when/if statements

Covered concepts

  • Generic classes
  • Generic methods
  • Extensions
  • Companion Objects
  • Data classes
  • Abstract classes
  • Enum classes

Module content

1
Define Generic Classes Lesson (11 mins)
IntroductionStart
Instruction
Demo
Conclusion
2
Write Extensions Lesson (16 mins)
IntroductionStart
Instruction
Demo
Conclusion
3
Use Companion Objects Lesson (16 mins)
IntroductionStart
Instruction
Demo
Conclusion
4
Create Data Classes Lesson (18 mins)
IntroductionStart
Instruction
Demo
Conclusion
5
Define Abstract Classes Lesson (17 mins)
IntroductionStart
Instruction
Demo
Conclusion
6
Leverage Enum Classes Lesson (9 mins)
IntroductionStart
Instruction
Demo
Conclusion