Contact: aviboots(AT)netvision.net.il
39,844 questions
51,765 answers
573 users
import scala.collection.mutable._ object O { def main(args: Array[String]): Unit = { val q = Queue(6, 8, 0, 1, 4) q.enqueue(10) q.foreach((element:Int) => printf("%3d", element)) } } /* run: 6 8 0 1 4 10 */