explain simple data structure code (java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

explain simple data structure code (java)

please explain what is the point of write line 8 ?? i cant understand why we wrote it ? https://code.sololearn.com/cAYf0PSj74BA

20th Feb 2022, 9:18 AM
STOP
STOP - avatar
1 Answer
+ 1
class node has a constructor which takes (data) as a parameter
20th Feb 2022, 10:39 AM
Davinder Kumar
Davinder Kumar - avatar