logo

Crowdly

¿Hay errores en el siguiente código? ¿Por qué? abstract class DataException ...

✅ 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? ¿Por qué?

abstract class DataException extends Exception {/*..*/}

class DataFormatException extends DataException {/*..*/}

public class DataWrangler {

    public void clean(Data d) throws DataException {

        //...

    }   

    public void ingest(Data md) {

        try {

            this.clean(md);   

        }

        catch (DataException m) {   /*..*/ }

        catch (DataFormatException s) {   /*..*/}               

    }

}

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!