logo

Crowdly

Programa principal amb excepcions  - 0,75 punts Escriu un  main  que: ...

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

  1. Programa principal amb excepcions - 0,75 punts

Escriu un main que:

  • Crei un ArrayList<Personatge> anomenat equip.
  • Crei un ArrayList<AtacDistancia> anomenat tiradors.
  • Afegeixi un Guerrer, un Mag i un Arquer.
  • Afegeixi l'arquer tant a equip com a tiradors.
  • Capturi PersonatgeInvalidException.
  • Cridi mostrarTiradors(tiradors) i mostrarAtacs(equip).
More questions like this

Want instant access to all verified answers on www.insbaixcamp.cat?

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