Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 986 Bytes

File metadata and controls

45 lines (40 loc) · 986 Bytes

CourseProgrammingLanguages

Here you will find Kotlin code examples used during the course on Programming language.

Lecture 1

An introduction to Kotlin programming

  1. val and var examples
  2. login
  3. single line functions
  4. Pair, Triple, Array
  5. data class
  6. when statement
  7. loops (do-while)
  8. high-order functions
  9. extension functions

Lecture 2

  1. Kotlin type system hierarchy
  2. Type value ranges
  3. Expressions
  4. Commands
  5. Identifiers, reserved words
  6. Formal parameters, arguments
  7. Introduction to the object-oriented programming
  8. Classes
  9. Primary, secondary constructors, initialization block
  10. Set/get methods
  11. Default parameter values
  12. Inheritance

Lecture 3

  1. Kotlin Interfaces
  2. Interface implementation
  3. Multiple inheritance of interfaces
  4. Classes
  5. Inheritance
  6. Classes: enum, data, sealed
  7. Lambda expressions, higher order functions
  8. Packages
  9. Package definition

Lecture 5

The DAO pattern

Tools used

  1. IntelliJ