Open waij opened 7 years ago
In atom Case Classes, exercise 4, you use new: val c = new Dimension(5,7). It runs, but it does not show what you are teaching, which is that you do not need to use new.
val c = new Dimension(5,7)
In atom Case Classes, exercise 4, you use new:
val c = new Dimension(5,7)
. It runs, but it does not show what you are teaching, which is that you do not need to use new.