12 lines
177 B
Kotlin
Vendored
12 lines
177 B
Kotlin
Vendored
package foo
|
|
|
|
import java.util.*
|
|
|
|
fun main()
|
|
{
|
|
val c = ArrayList<Int>()
|
|
c.add(3)
|
|
System.out.println(++(c[0]))
|
|
System.out.println((c[1])--)
|
|
System.out.println(-(c[2]))
|
|
} |