Question: The language is Java. Thans in advance. . A reference variable declared as a data field within a class has the default value a) 0
. A reference variable declared as a data field within a class has the default value a) 0 b) 1 c) null d) empty e) None of the above. In describing the linked lists as covered in lectures, the last node of a linked list a) has the value nul1 b) has a next reference whose value is null c) has a next reference which references the first node of the list d) cannot store any data e) None of the above 2. Which of the following statements deletes the first node of a linked list that has 10 nodes? 3. head.next curr.next; a) b) c) d) e) prev , next:: r r . next ; head-head.next; head = nul 1; None of the above. 4. can be used to facilitate adding nodes to the end of a linked list. a) b) c) d) e) head record dummy head node tail reference dummy head node None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
