What is the preferred way of writing a loop in Java. Please have a look at the code below

前端 未结 0 1994
悲&欢浪女
悲&欢浪女 2021-01-23 13:32

I am trying to add a node (newNode) to the end of a linked list and for that, I am trying to traverse to the end of the linked list.

My preferred way is by c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题