AboutApply : not a private constructor

Issue #36 new
Franck Valentin
created an issue

For the line

class Employee (val firstName:String, val lastName:String) //private constructor!

the comment states that it's a private constructor, which is not. I can write:

val c = new Employee("firstname", "lastname")
Futhermore, the line 
  a.lastName should be ("__") 
should be
 b.lastName should be ("__")  

Comments (0)

  1. Log in to comment