Monday, April 22, 2013

Error : 'XXXX' does not contain a constructor that takes '0' arguments


If you provide a parametered constructor to a class, then you must also provide a parameterless (default) constructor.

If you only provide a parameter constructor , you will get something like this :
‘XXXX’ does not contain a constructor that takes '0' arguments 

No comments:

Post a Comment

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...