Section 1.7 Review of Basic Kotlin
In this section, we will review the programming language Kotlin and also provide some more detailed examples of the ideas from the previous section. If you are new to Kotin or find that you need more information about any of the topics presented, we recommend that you consult a resource such as Kotlin Docs. Our goal here is to acquaint you with the language and also reinforce some of the concepts that will be central to later chapters.
Kotlin is an object-oriented programming language. It has a powerful set of built-in data types and control constructs. One way to review small snippets of Python is through the Kotlin playground, which lets you try small programs interactively in your web browser.
Here is an example Kotlin program. Every Kotlin program needs to have one function named
main. This is where your program starts running.
fun main() {
println("Algorithms and Data Structures")
}
When the above program is run, it produces
Algorithms and Data Structures
as the output.
You have attempted of activities on this page.

