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
3 odpowiedzi
+ 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.
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)
0
@Dev i wrote it briefly.but generally the comments are correct right?i mean the flow from step 1 to 6