Tell your friends about this item:
Kotlin Programming for Beginners: A Step-by-Step Guide to Learning Kotlin Programming Language and Start Building Mobile & Server-Side Applications from Scratch Ben Davies
Kotlin Programming for Beginners: A Step-by-Step Guide to Learning Kotlin Programming Language and Start Building Mobile & Server-Side Applications from Scratch
Ben Davies
LEARN THE FUNDAMENTALS OF KOTLIN PROGRAMMING TO BUILD APPS
Ktln a cross-platform, statically td, general-purpose programming language with type nfrn. Ktln dgnd to ntrrt fully with Jv, nd the JVM version of Ktln' standard lbrr depends n th Java Cl Lbrr, but t inference llw its syntax to b mr concise. Ktln mainly trgt the JVM, but also ml t JavaScript (.g., fr frntnd wb ltn using React) r native code (via LLVM); e.g., for ntv iOS apps hrng business lg with Andrd . Lngug dvlmnt t r borne by JtBrn, whl the Ktln Foundation rtt th Ktln trademark.
GTTNG STARTED B Syntax
Dfnng kg
Pkg ftn should b at th top of the source file:
package my.demo
import java.util.*
// ...
It is nt rurd t mth drtr nd kg ur files n b ld rbtrrl in th file tm. Dfnng functions
Funtn hvng tw int parameters wth int rturn t
fun sum(a: Int, b: Int): Int {
return a + b
}
Funtn with n expression body nd nfrrd return type:
fun sum(a: Int, b: Int) = a + b
Funtn rturnng n mnngful vlu
fun printSum(a: Int, b: Int): Unit { println("sum of $a and $b is ${a + b}")
}
rturn t n b omitted
Ready to start building android Apps?
Read "Kotlin Programming for Beginners" now to get started.
100 pages
| Media | Books Paperback Book (Book with soft cover and glued back) |
| Released | February 20, 2022 |
| ISBN13 | 9798419804227 |
| Publishers | Independently Published |
| Pages | 100 |
| Dimensions | 140 × 216 × 5 mm · 127 g |
| Language | English |