Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun main() {
- try {
- // trecho de código com divisão por zero
- } catch (ex: ArithmeticException) {
- // tratando a exceção NumberFormatException
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement