I am new to scala..I came across a concept where it says like below:
{ val x = a; b.:::(x) }   
In this block a is still evaluated before b, and then the result of this evaluation is passed as an operand to b’s ::: method
What is the meaning of above  statement..
I tried like below:
var a =10
var b =20
What should be the result i should expect.
Can somebody please give me an example...
Thanks in advance....
 
     
    