Home / Programming / Kotlin (page 2)

Kotlin

Kotlin Conditional Statements

If Statements Sometimes we may want to run our code only when a condition holds true. For example, let’s hypothetically assume that we run a bar and we only want to admit users who are 18 years old and above. in the code below we’re trying to access our code with …

Read More »

What is Object Oriented Programing?

What is Object Oriented Programming

Object Orientation is the most widely used programming paradigm there is, every major programming language uses object-oriented programming principles and that includes Java, Python, C++, C#, PHP, Swift etc and it includes Kotlin. Objected Oriented Programming (OOP) dates back to the 1980s OOP is a natural way to model software …

Read More »