Question: Why does not this code snippet compile?
- Because name is a class parameter, not a property-it is unresolved `main()`.
 - In order to create an instance of a class, you need the keyword `new`
 - The reference to name needs to be scoped to the class, so it should be `this.name`
 - Classes cannot be immutable. You need to change `var` to `val`
 
Answer: The correct answer of the above question is Option D:Classes cannot be immutable. You need to change `var` to `val`