12 lines
309 B
Kotlin
12 lines
309 B
Kotlin
public class StockMarketTableModel() {
|
|
|
|
public fun getColumnCount() : Int {
|
|
return COLUMN_TITLES?.size.sure()
|
|
}
|
|
|
|
class object {
|
|
private val COLUMN_TITLES : Array<Int?> = Array<Int?>(10)
|
|
}
|
|
}
|
|
|
|
fun box() : String = if(StockMarketTableModel().getColumnCount()==10) "OK" else "fail" |