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 - 图书 -  - 9798419804227 - 2022年2月20日
如封面与标题不符,以标题为准

Kotlin Programming for Beginners: A Step-by-Step Guide to Learning Kotlin Programming Language and Start Building Mobile & Server-Side Applications from Scratch


商品到货时接收邮件提醒
Do you have a profile? 登录
添加至iMusic心愿单

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

介质类型 图书     Paperback Book   (平装胶订图书)
已发行 2022年2月20日
ISBN13 9798419804227
页数 100
商品尺寸 140 × 216 × 5 mm   ·   127 g
语言 英语  

Ben Davies的更多作品

显示全部