코딩공부

  • 홈
  • 태그
  • 방명록

kotlin 1

[Kotlin] Basic2

1. ++/-- var num = 5 println(num++) //5 println(++num) //7 println(num--) //7 println(--num) //5 2. toInt()/toFloat() toInt() : change the type to integer toFloat(): change the type to float println("10" + 6) println(10 + "6".toInt()) //16 val num = 5.6757565765667 println(num) println(num.toFloat()) println(num.toInt()) 3. arrayOf : immutable(cannot be resized) 1) contentToString() val species ..

Self-study/Kotlin 2024.01.19
이전
1
다음
더보기
프로필사진

코딩공부

  • 분류 전체보기 (41)
    • Self-study (38)
      • HTML (0)
      • CSS (0)
      • Javascript (12)
      • 자바 (5)
      • Python (11)
      • React (6)
      • C언어 (1)
      • Kotlin (2)
      • 기타 (1)
    • Leetcode (3)
      • alogorithm (0)

Tag

coding, 리트코드, 함수, 변수, 초보개발, python, 코딩, 외장함수, mutability, 객체지향, 지수표기법, 파이썬 기초, 코드잇, 자바스크립, leetcode, 파이썬, 자바의정석, 자바, 자바스크립트, 지역변수,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바