blob: e354798ebdcaf9d935e731097fb51a5ab7746df8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
object Test extends Application {
var xyz: (int, String, boolean) = _
xyz = (1, "abc", true)
Console.println(xyz)
xyz._1 match {
case 1 => Console.println("OK")
case 2 => Console.println("KO")
case 3 => Console.println("KO")
}
}
|