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)
1
Define Generic Classes
Lesson (11 mins)
2
Write Extensions
Lesson (16 mins)
2
Write Extensions
Lesson (16 mins)
3
Use Companion Objects
Lesson (16 mins)
3
Use Companion Objects
Lesson (16 mins)
4
Create Data Classes
Lesson (18 mins)
4
Create Data Classes
Lesson (18 mins)
5
Define Abstract Classes
Lesson (17 mins)
5
Define Abstract Classes
Lesson (17 mins)
6
Leverage Enum Classes
Lesson (9 mins)
6
Leverage Enum Classes
Lesson (9 mins)