# Introduction to Classes and Objects

DevFeed: [Introduction to Classes and Objects](<https://devfeed.tech/articles/introduction-to-classes-and-objects-25048.md>)

Original publisher: [Read original article](<https://typealias.com/start/kotlin-classes-and-objects/>)

Author: author@typealias.com (Dave Leeds)

Published: 2020-06-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dave Leeds on Kotlin - typealias.com](<https://devfeed.tech/sources/dave-leeds-on-kotlin-typealias-com.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [function](<https://devfeed.tech/tags/function.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [learn-to-program](<https://devfeed.tech/tags/learn-to-program.md>), [object](<https://devfeed.tech/tags/object.md>), [programming](<https://devfeed.tech/tags/programming.md>), [property](<https://devfeed.tech/tags/property.md>), [types](<https://devfeed.tech/tags/types.md>), [visibility-modifier](<https://devfeed.tech/tags/visibility-modifier.md>)

## AI overview

A Kotlin tutorial chapter introduces classes as a way to combine related variables and functions into new types. It uses a circle example and begins by defining an empty class before adding members step by step.

## Source excerpt

In Chapter 1, we learned about a variety of types in Kotlin, such as Double, String, and Boolean. Get ready, because in this chapter, we're going to start creating our very own types! We'll put variables and functions together into a class. Let's get started! Putting Variables and Functions Together As you might recall, we started off this book by creating variables to hold things pertaining to a circle, such as its radius and circumference.