|
Scala example source code file (bug1300.scala)
The Scala bug1300.scala source code
object Test extends App
{
val a1 = Array(0,1,2,3).toArray[Any]
// val a1 = x1.toArray[Any]
val a2 = Array('a','b','c','d').toArray[Any]
val a3 = Array("e","f","g","h").toArray[Any]
Array.copy(a3, 0, a1, 0, 4)
Array.copy(a2, 0, a3, 0, 4)
Array.copy(a2, 0, a1, 0, 4)
println(a1.mkString + a2.mkString + a3.mkString)
}
Other Scala examples (source code examples)Here is a short list of links related to this Scala bug1300.scala source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.