logo

Crowdly

¿Hay errores en el siguiente código? class NumberTooLargeException extends Ex...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

¿Hay errores en el siguiente código?

class NumberTooLargeException extends Exception { /*..*/}

public class Quizz1 {

    public void method(int a) throws NumberTooLargeException {

        if (a>1000) throw NumberTooLargeException;

    }

}

More questions like this

Want instant access to all verified answers on moodle.uam.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!