#### What Will I Learn? - You will learn about the various basic types in Kotlin - You will learn various things about casting types and type inference in Kotlin - You will learn about strings, string interpolation and various other attributes of strings in Kotlin #### Requirements - The Kotlin Compiler or The Intellij/Eclipse IDE - A basic understanding of the JVM as a platform - A surface level understanding of what purpose Java serves #### Difficulty - Basic #### Description This is the first in a series of video tutorials on the **Kotlin Programming language**. In this tutorial video, we look at the **basic types in Kotlin**. This includes *Ints, Floats, Longs, Doubles, Bytes, Shorts, Characters, and Strings*. We also look at **casting** or the *explicit type conversion* methods that Kotlin supports. We end by talking about the various properties of **Strings** such as *index, length and methods* and we talk about how all **basic types in Kotlin** are treated as **Objects**. #### Video Tutorial <iframe width="560" height="315" src="https://www.youtube.com/embed/GA1WWKP1pnw" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@tensor/intro-to-kotlin-basic-types-type-inference-casting-and-strings">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
author | tensor | ||||||
---|---|---|---|---|---|---|---|
permlink | intro-to-kotlin-basic-types-type-inference-casting-and-strings | ||||||
category | utopian-io | ||||||
json_metadata | {"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":3432266,"name":"kotlin","full_name":"JetBrains/kotlin","html_url":"https://github.com/JetBrains/kotlin","fork":false,"owner":{"login":"JetBrains"}},"pullRequests":[],"platform":"github","type":"video-tutorials","tags":["utopian-io","steemstem","steemiteducation","technology","programming"],"users":["tensor"],"moderator":{"account":"creon","time":"2018-01-23T04:46:44.603Z","reviewed":true,"pending":false,"flagged":false}} | ||||||
created | 2018-01-23 03:03:12 | ||||||
last_update | 2018-01-23 04:46:45 | ||||||
depth | 0 | ||||||
children | 3 | ||||||
last_payout | 2018-01-30 03:03:12 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 40.260 HBD | ||||||
curator_payout_value | 17.194 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 1,386 | ||||||
author_reputation | 87,856,203,149,624 | ||||||
root_title | "Intro to Kotlin (Basic Types, Type Inference, Casting and Strings)" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 31,538,498 | ||||||
net_rshares | 6,322,341,590,488 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 89,124,259,583 | 0.02% | ||
lafona-miner | 0 | 160,644,745,745 | 2.5% | ||
kushed | 0 | 2,443,772,405 | 0.89% | ||
justtryme90 | 0 | 107,116,228,654 | 4.25% | ||
anwenbaumeister | 0 | 25,720,045,579 | 0.89% | ||
roelandp | 0 | 43,534,798,525 | 0.44% | ||
liberosist | 0 | 57,104,458,674 | 0.89% | ||
dks100 | 0 | 70,480,692 | 0.89% | ||
lemouth | 0 | 15,263,094,599 | 4% | ||
rjbauer85 | 0 | 140,392,388 | 5% | ||
anarchyhasnogods | 0 | 7,663,779,965 | 2.5% | ||
meerkat | 0 | 26,771,821,501 | 0.89% | ||
curie | 0 | 49,166,681,009 | 0.89% | ||
techslut | 0 | 111,726,591,801 | 10% | ||
hendrikdegrote | 0 | 516,027,101,501 | 0.89% | ||
steemstem | 0 | 54,846,107,620 | 5% | ||
foundation | 0 | 386,400,865 | 5% | ||
teamhumble | 0 | 6,716,440,012 | 1% | ||
ethandsmith | 0 | 2,089,483,617 | 0.5% | ||
the-devil | 0 | 949,214,502 | 5% | ||
personz | 0 | 43,127,280,386 | 100% | ||
dna-replication | 0 | 1,249,365,962 | 5% | ||
awesomianist | 0 | 71,096,820 | 0.89% | ||
mobbs | 0 | 8,255,308,215 | 4.25% | ||
lyna | 0 | 55,050,752 | 100% | ||
markangeltrueman | 0 | 337,275,500 | 0.89% | ||
fredrikaa | 0 | 9,539,130,286 | 2.5% | ||
trumpman | 0 | 7,480,422,605 | 5% | ||
locikll | 0 | 629,453,238 | 4% | ||
aboutyourbiz | 0 | 209,423,070 | 0.89% | ||
kerriknox | 0 | 17,801,565,568 | 5% | ||
howtostartablog | 0 | 24,513,777,617 | 10% | ||
cryptokrieg | 0 | 232,597,535 | 0.89% | ||
tensor | 0 | 9,608,180,594 | 100% | ||
mystifact | 0 | 743,234,551 | 5% | ||
dante31 | 0 | 69,984,871 | 0.89% | ||
ewuoso | 0 | 878,270,397 | 3% | ||
steemulator | 0 | 300,648,687 | 0.89% | ||
phogyan | 0 | 749,418,469 | 50% | ||
lizelle | 0 | 125,897,557 | 0.89% | ||
justdentist | 0 | 1,592,884,005 | 3% | ||
mychidera-eu | 0 | 130,970,361 | 25% | ||
avesa | 0 | 809,290,893 | 0.89% | ||
pearlumie | 0 | 1,851,897,960 | 5% | ||
jazzybells | 0 | 165,612,740 | 5% | ||
martynov | 0 | 448,587,763 | 100% | ||
bortosina | 0 | 50,105,108 | 100% | ||
mestra | 0 | 436,297,687 | 100% | ||
baveva | 0 | 2,531,015,911 | 100% | ||
podgorka | 0 | 50,327,692 | 100% | ||
rasmik | 0 | 56,193,781 | 100% | ||
alexvvolko | 0 | 51,021,528 | 100% | ||
revisesociology | 0 | 3,827,821,155 | 10% | ||
rayken04 | 0 | 55,196,334 | 10% | ||
benkon | 0 | 53,841,571 | 100% | ||
makerhacks | 0 | 10,982,983,665 | 100% | ||
qurator | 0 | 122,608,113,867 | 3.1% | ||
opaulo | 0 | 19,451,919,313 | 10% | ||
steemit-bot | 0 | 93,383,775 | 0.89% | ||
kalag | 0 | 52,782,200 | 100% | ||
carloserp-2000 | 0 | 585,733,677 | 5% | ||
spacetrucker | 0 | 131,938,054 | 5% | ||
rachelsmantra | 0 | 171,647,265 | 5% | ||
set1333 | 0 | 111,239,545 | 100% | ||
coolguy123 | 0 | 18,579,614,108 | 10% | ||
sammarkjames | 0 | 151,908,158 | 0.89% | ||
gra | 0 | 1,487,088,922 | 5% | ||
utopian-io | 0 | 4,587,993,840,626 | 2.65% | ||
zhufutina | 0 | 246,560,141 | 100% | ||
omstavan | 0 | 2,163,240,353 | 100% | ||
liverehab | 0 | 65,817,920 | 0.89% | ||
spectrums | 0 | 147,524,256 | 0.89% | ||
jasimg | 0 | 715,660,572 | 0.89% | ||
drmake | 0 | 56,496,976,422 | 100% | ||
robertlyon | 0 | 5,279,254,949 | 100% | ||
yorkchinese | 0 | 387,543,491 | 4.8% | ||
xanderslee | 0 | 70,991,875 | 0.89% | ||
amavi | 0 | 3,557,695,158 | 5% | ||
gentleshaid | 0 | 1,091,108,760 | 5% | ||
steembasicincome | 0 | 3,642,293,264 | 2% | ||
sachincool | 0 | 740,001,072 | 100% | ||
luoq | 0 | 65,004,093,529 | 100% | ||
aussieninja | 0 | 848,789,993 | 5% | ||
rassell | 0 | 51,332,150 | 100% | ||
ivan.atman | 0 | 71,839,816 | 0.89% | ||
petkaditrkov | 0 | 485,133,577 | 100% | ||
mstafford | 0 | 129,204,279 | 5% | ||
atare | 0 | 58,435,408 | 10% | ||
volnizto | 0 | 52,198,863 | 100% | ||
hadji | 0 | 99,116,620 | 5% | ||
humor-room | 0 | 439,624,900 | 100% | ||
trytenkovdaniyar | 0 | 457,499,386 | 100% | ||
storycappadocia | 0 | 58,345,608 | 100% | ||
ukaneyahtonick | 0 | 451,358,454 | 100% | ||
kavyudanp | 0 | 442,699,200 | 100% | ||
posyuntat | 0 | 445,512,500 | 100% | ||
astur | 0 | 107,537,500 | 100% | ||
salamzaidaliraqi | 0 | 537,660,891 | 100% |
Thank you for the contribution. It has been approved. You can contact us on [Discord](https://discord.gg/uTyJkNm). **[[utopian-moderator]](https://utopian.io/moderators)**
author | creon |
---|---|
permlink | re-tensor-intro-to-kotlin-basic-types-type-inference-casting-and-strings-20180123t044649582z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-23 04:46:51 |
last_update | 2018-01-23 04:46:51 |
depth | 1 |
children | 1 |
last_payout | 2018-01-30 04:46:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.072 HBD |
curator_payout_value | 0.024 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 172 |
author_reputation | 2,792,252,766,467 |
root_title | "Intro to Kotlin (Basic Types, Type Inference, Casting and Strings)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,556,794 |
net_rshares | 8,635,924,225 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tensor | 0 | 8,635,924,225 | 100% |
Wow, that was fast. Thank you for your efforts and taking the time to watch my content.
author | tensor |
---|---|
permlink | re-creon-re-tensor-intro-to-kotlin-basic-types-type-inference-casting-and-strings-20180123t054047949z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-01-23 05:40:45 |
last_update | 2018-01-23 05:40:45 |
depth | 2 |
children | 0 |
last_payout | 2018-01-30 05:40:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 88 |
author_reputation | 87,856,203,149,624 |
root_title | "Intro to Kotlin (Basic Types, Type Inference, Casting and Strings)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,565,925 |
net_rshares | 0 |
### Hey @tensor I am @utopian-io. I have just upvoted you! #### Achievements - You have less than 500 followers. Just gave you a gift to help you succeed! - Seems like you contribute quite often. AMAZING! #### Community-Driven Witness! I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER! - <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a> - <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a> - Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a> [](https://steemit.com/~witnesses) **Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
author | utopian-io |
---|---|
permlink | re-tensor-intro-to-kotlin-basic-types-type-inference-casting-and-strings-20180123t125539470z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-23 12:55:39 |
last_update | 2018-01-23 12:55:39 |
depth | 1 |
children | 0 |
last_payout | 2018-01-30 12:55:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,082 |
author_reputation | 152,955,367,999,756 |
root_title | "Intro to Kotlin (Basic Types, Type Inference, Casting and Strings)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,642,127 |
net_rshares | 0 |