Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. fun main() {
  2. try {
  3. // trecho de código com divisão por zero
  4. } catch (ex: ArithmeticException) {
  5. // tratando a exceção NumberFormatException
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement