Friday, 27 September 2013

how to get the values from the list

how to get the values from the list

val list=List[(121,"jags")]
From the above list , i want to fetch 121 and jags . How to do it. I have
tried
list._0
list._1
But doesn't give me the output.

No comments:

Post a Comment