which the following statement is true (it can be more than one correct answers
The numbers on the left margin denote line numbers.
line#
01 class LL_node {
02 int val;
03 LL_node next;
04 public LL_node (int n) {
05 val = n;
06 next = null;
07 }
08 public void set_next (LL_node nextNode) {
09 next = nextNode;
10 }
11 public LL_node get_next () {
12 return next;
13 }
14 public void set_value (int input) {
15 val = input;
16 }
17 public int get_value () {
18 return val;
19 }
20 }
21 public class LL {
22 protected LL_node head;
23 protected LL_node tail;
24 public LL () {
25 head = null;
26 tail = null;
27 }
28 public int append (int n) {
29 if (head == null) {
30 head = new LL_node(n);
31 tail = head;
32 } else {
33 LL_node new_node;
34 new_node = new LL_node(n);
35 tail.set_next (new_node);
36 tail = new_node;
37 }
38 return n;
39 }
40 }
which the following statement is true (it can be more than one correct answers
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)