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