InterviewSolution
Saved Bookmarks
| 1. |
What is the error in the following code: |
|
Answer» var i = 0 while (j < ARGS.length) { println(args(i)) j++ } Scala does not support the expression "j++" and should EITHER be REPLACED with “j+=1” or “j=j+1”. |
|