Valentin Ivanov wrote:I'm wondering is new ObjectsCount() matching the constructor signature?
The constructor takes a var-arg of ObjectsCount objects. Since it is a var-arg method, so you can pass zero or more arguments to it.
PS: If the constructor was overloaded, and there was a no-arg constructor available, then that constructor would've been called as you can see in
this thread...