Page History

例外処理

yhornisse edited this page on 15 Feb 2020

Clone this wiki locally

例外処理

未整理

val a: Int? = try { parseInt(input) } catch (e: NumberFormatException) { null }

use