Kotlin Tutorial: val vs. var

preview_player
Показать описание
This micro-tutorial demonstrates the difference between defining a variable as val or var in Kotlin!

IDE used: Intellij by JetBrains

TikTok for Kotlin/Android micro-tutorials:

Subscribe and enable notifications to stay up-to-date!
Рекомендации по теме
Комментарии
Автор

Wow, straightforward!

SUBSCRIBED! Thank you!

qpdbwvwdbqp
Автор

"VAL" is a constant variable which is immutable or cannot modify the variable data while "VAR" is a global & mutable variable and it has Pascal & ALGOL 68 like variable declaration that which is specifies the data type of a variable and their values

yerenzter
Автор

Have you started doing lessons for beginners? :) or is it a test video?

MrSojek