0
Output explanation
can anyone explain the output,especially the last two output statement https://code.sololearn.com/cs7n1ILnOmaN/?ref=app
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?
+ 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.
0
could you post the link in the text section.
0
sorry
check now
0
Thanks