mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-27 00:26:15 +02:00
[Kotlin/all] Remove whitespace in variable declaration with explicit type (#2733)
* Removed whitespace in variable declaration with explicit type (Kotlin) * Removed whitespace in variable declaration with explicit type (Kotlin translations)
This commit is contained in:
committed by
ven
parent
81a388747a
commit
d30d6f69ca
@@ -37,7 +37,7 @@ fun main(args: Array<String>) {
|
||||
대부분의 경우, Kotlin 에서는 변수 타입을 판단할 수 있기때문에 명시적으로 지정해 주지 않을 수 있습니다.
|
||||
다음과 같이 변수의 타입을 명시적으로 지정할 수 있습니다.
|
||||
*/
|
||||
val foo : Int = 7
|
||||
val foo: Int = 7
|
||||
|
||||
/*
|
||||
문자형은 Java와 비슷하게 표시될 수 있습니다.
|
||||
|
Reference in New Issue
Block a user