You are viewing a single comment's thread. Return to all comments →
I am getting this error , I don't see any issue here in scala code
val list:List[Int]=(0 until num).toList
It will give f(2) will be List(0,1,2)
warning: there was one deprecation warning; re-run with -deprecation for details one warning found
Array Of N Elements
You are viewing a single comment's thread. Return to all comments →
I am getting this error , I don't see any issue here in scala code
val list:List[Int]=(0 until num).toList
It will give f(2) will be List(0,1,2)
warning: there was one deprecation warning; re-run with -deprecation for details one warning found