fraze "userclass user(5)" must be the same "userclass user=5" in case class contains constructor userclass(int) but unfortunatly "userclass user=5" doesn t work
No, the initialization "userclass user = 5" is not valid in this case. The correct initialization should be "userclass user(5)" when the class includes a constructor with a single integer parameter.