λ¬Έμ νμ 1κ°μ μ§μ μ’ν μμ κ³ μμ΄ 2λ§λ¦¬, μ₯ 1λ§λ¦¬κ° μμΉ Cat A, Cat B μ€ Mouseμ λ κ°κΉμ΄ μμΉμ μλ κ³ μμ΄λ₯Ό Print νμ κΈ°ν 쑰건 Cat A, Cat B μ Mouseμ κ±°λ¦¬κ° λͺ¨λ λμΌν κ²½μ° Mouseλ₯Ό Print νμ νμ΄- Kotlin fun catAndMouse(x: Int, y: Int, z: Int): String { val a = Math.abs(x - z) val b = Math.abs(y - z) return if (a b) { "Cat B" } else { "Mouse" } } λμ³€λ λΆλΆ μ²μμ κΈνκ² λ Όλ¦¬λ§ μΈμλ μ±λ‘ μ§ννμ λ Failμ΄ λμ μ€λ§νλ€. λ€μ μ°¬μ°¬νκ² μ΄ν΄λ³΄λ κ° κ³ μμ΄λ€..
μ€μ λ‘ λ©΄μ κ³Όμ μμ λ°μλ μ§λ¬Έλ€μ μ 리ν΄λ³΄λ €κ³ νλ€. μ΄μ€μμλ λλ΅νμ§ λͺ»νλ κ²λ€λ μλλ°, μ΄λ κ² μ 리νλ©° 곡λΆνλ©° 보μν μ μκ² λ€. Computer Sience ArrayListμ LinkedListμ μ°¨μ΄λ₯Ό μ€λͺ νκ³ κ° μλ£κ΅¬μ‘°μ μ₯λ¨μ μ λ°λ₯Έ μ μ ν μ¬μ© μμλ? μλ£κ΅¬μ‘°: Linked List λ ArrayList 2014λ λͺ¨λλ€ μ΄λ€ λͺ©μ κ³Ό κ³νμ κ°κ³ μ΄κ³ κ³μ μ§μ? μ λ μ¬ νν΄ “Go to the Base”λ₯Ό λͺ©νλ‘ μ¬λ¬ κ³νμ μΈμ λλ°μ. κ·Έ μ€ νλκ° κ³Όκ±° 5λ λμ μ λ₯Ό λ λμ λ³΄κ³ λΆμ‘±νλ κΈ°λ³Έ μ§μμ ν www.nextree.co.kr ArrayList : λ°μ΄ν°λ€μ΄ μμλλ‘ μ λμ΄μ λ°°μ΄μ νμμΌλ‘ μ¬μ΄μ¦κ° κ³ μ λμ΄ μλ€ LinkedList : λ°μ΄ν°λ€μ΄ μλ£μ μ£Ό..
- Total
- Today
- Yesterday
- com.android.build.api.transform.TransformException
- Please use a personal access token instead
- Make onClick event in Android databinding
- viewmodel
- The requested URL returned error
- android
- decomplie
- android launch mode in manifest
- Cannot create an instance
- annotaion
- module-info is missing a super type
- DexArchiveBuilderException
- AAR
- aar import
- custom getter
- AndroidManifest
- launchemode
- import aar
- GitHub
- Hilt
- databinding onclick not working
- databinding onClick
- custom setter
- android databinding
- Kotlin
- Effective Kotlin
- Support for password authentication was removed on August 13
- How to import android AAR file
- android aar library
- android aar
μΌ | μ | ν | μ | λͺ© | κΈ | ν |
---|---|---|---|---|---|---|
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 |