The difference between these four attributes in scala is given below:
Nil- it is used to initialize ...