0

Reference question java

can someone help me check if i have written the 6 steps(comments) correctly in the code to derive the output? https://code.sololearn.com/cMCDhvQZcgXd/?ref=app

19th Oct 2017, 4:24 PM
oyl
5 Réponses
+ 9
If talking about comments, there's much missing! For the first two, i'd go with this : 1) Creating a new object j of class - Person. 2) Calling (or invoking) the setAge() method, with an int as an argument.
19th Oct 2017, 4:30 PM
Dev
Dev - avatar
0
@Gordie thank you but this is a code from the java course and not written by me.i just need u to check whether the comments are written correctly.if it is correct,that means i have the understand it correctly.(comments are written by me)
19th Oct 2017, 11:49 PM
oyl
0
@Dev i wrote it briefly.but generally the comments are correct right?i mean the flow from step 1 to 6
20th Oct 2017, 12:00 AM
oyl