Output explanation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Output explanation

can anyone explain the output,especially the last two output statement https://code.sololearn.com/cs7n1ILnOmaN/?ref=app

8th Dec 2019, 2:42 PM
Ajoh Pv
Ajoh Pv - avatar
5 Answers
+ 1
That link redirects to SoloLearn Play Store page. Are you sure you put the right link?. Are you talking about your code or example code in lesson or what? Now that you have the link in Description would you kindly update the question title to something more descriptive?
8th Dec 2019, 3:47 PM
Ipang
+ 1
checked your profile and found the corresponding link. change your constructor to this: Test(char cvalue,float fvalue ){ this.cvalue =cvalue; this.fvalue =fvalue ; System.out.println(cvalue+" "+this.cvalue ) ; System.out.println(fvalue +" "+this.fvalue); } you were using some values before they were assigned.
8th Dec 2019, 4:47 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
could you post the link in the text section.
8th Dec 2019, 2:55 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
sorry check now
8th Dec 2019, 2:58 PM
Ajoh Pv
Ajoh Pv - avatar
0
Thanks
8th Dec 2019, 4:50 PM
Ajoh Pv
Ajoh Pv - avatar