ex10 Task1 - Project

LorenzB
Windoof-User
Windoof-User
Beiträge: 28
Registriert: 1. Sep 2015 12:27

ex10 Task1 - Project

Beitrag von LorenzB » 25. Jan 2018 17:01

What does
a modifiable (i.e. it supports add and remove) list of tasks
mean in the case of Scala?
  • Seq
  • List (mutable or immutable)
  • ListBuffer (which has the best opportunities to add and remove elements)
  • ... something else?
Thank you

0b101101101
Endlosschleifenbastler
Endlosschleifenbastler
Beiträge: 179
Registriert: 15. Apr 2015 18:24

Re: ex10 Task1 - Project

Beitrag von 0b101101101 » 25. Jan 2018 17:05

Any of the above I'd say, as long as you can modify it... like a var Seq or a val mutable.*.

Antworten

Zurück zu „Archiv“