What you need to know about ASSIGNMENT OPERATORS - Android KOTLIN

Опубликовано: 01 Январь 1970
на канале: tutorialsEU - Android
375
16

We´ll be learning to use the Assignment Operators in Kotlin! And why the data type is important when building your code! Want to learn everything about Kotlin? Get this!    • Android Complete Course  

Here are the links by the way!

Free download. https://page.tutorials.eu/android

Our Android Masterclass. https://bit.ly/3l6vG86

Kotlin has a set of operators to perform arithmetic, assignment, comparison operators and more. You will learn to use these operators in this article.

Operators are special symbols (characters) that carry out operations on operands (variables and values). For example, + is an operator that performs addition.

In Java variables article, you learned to declare variables and assign values to variables. Now, you will learn to use operators perform various operations on them.

Kotlin supports the following operators and special symbols:
+, -, *, /, % - mathematical operators

is also used to pass an array to a vararg parameter.

= - assignment operator.
is used to specify default values for parameters.

+=, -=, *=, /=, %= - augmented assignment operators.

++, -- - increment and decrement operators.

&&, ||, ! - logical 'and', 'or', 'not' operators (for bitwise operations, use the corresponding infix functions instead).

==, != - equality operators (translated to calls of equals() for non-primitive types).

.. creates a range.

: separates a name from a type in a declaration.

? marks a type as nullable.

And more! Visit the Official Kotlin documentation page for more!
https://kotlinlang.org/docs/keyword-r...

#kotlin #android #tutorial #learn #course #programming #code

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x

Android:    / @tutorialseuandroid  
C#:    / @tutorialseuc  
Unity:    / @tutorialseuunity  
Facebook:   / tutorialseu-109380204093233  
LinkedIn:   / tutorialseu  
Discord:   / discord  


На этой странице сайта вы можете посмотреть видео онлайн What you need to know about ASSIGNMENT OPERATORS - Android KOTLIN длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь tutorialsEU - Android 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 375 раз и оно понравилось 16 зрителям. Приятного просмотра!