Methods which can be used to remove/ delete users from arrayBuffer in Scala?

97. Methods which can be used to remove/ delete users from arrayBuffer in Scala?

  1. arrayBuffer.remove()
  2. arrayBuffer.delete()
  3. arrayBuffer.push()
  4. All of these

Answer: A) arrayBuffer.remove()

Explanation:

The Scala method arrayBuffer.remove() is used to remove/delete from arrayBuffer.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.