+ 2

What is output of this question ? This question ask in quiz, when i run this code it give error, i put code and screen shot link

https://code.sololearn.com/crHfk5E16KZ0/?ref=app

18th Feb 2018, 11:20 AM
Gajendra Parmar
Gajendra Parmar - avatar
8 Respuestas
+ 13
answer cadb
18th Feb 2018, 11:50 AM
jay
jay - avatar
+ 13
Is the answer error maybe? If it is not, it should be reported. Constructors need to be public in order to be called in this manner. edit:: I saw the screenshot;; ignore this :D
18th Feb 2018, 11:40 AM
jay
jay - avatar
+ 12
https://code.sololearn.com/clQGyI8faXfB/?ref=app compare your screenshot to your code again :))
18th Feb 2018, 11:47 AM
jay
jay - avatar
+ 10
:) you have written the code incorrectly
18th Feb 2018, 11:45 AM
jay
jay - avatar
18th Feb 2018, 11:21 AM
Gajendra Parmar
Gajendra Parmar - avatar
+ 2
so what we consider ?
18th Feb 2018, 11:43 AM
Gajendra Parmar
Gajendra Parmar - avatar
+ 2
but in answer we insert only 4 words, "error" is 5 words
18th Feb 2018, 11:44 AM
Gajendra Parmar
Gajendra Parmar - avatar
+ 1
thank you jay
18th Feb 2018, 11:51 AM
Gajendra Parmar
Gajendra Parmar - avatar