logo

Crowdly

Browser

Add to Chrome

Considerando la siguiente clase abstracta y clase: abstract class UnaOperacio...

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

Considerando la siguiente clase abstracta y clase:

abstract class UnaOperacion {

int numero;

UnaOperacion(int n) {

numero = n;

}

abstract int hacerOp (int otro);

}

class NumeroConSuma extends UnaOperacion {

public NumeroConSuma(int x) {

super(x);

}

public int hacerOp(int otro) {

return numero + otro;

}

}

Marca los enunciados que son correctos entre los siguientes:

0%
More questions like this

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

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

Browser

Add to Chrome