CSD201_-_SU_2024_-_RE_2502.webp
night_owl1

CSD201_-_SU_2024_-_RE_2502.webp

(Choose 1 answer)
Suppose we are considering a singly linked list and p is some node in the list which has successor node.Select the most correct java code snippet that deletes the successor node of p (the node after p).
A. Node q = p.next;q.next = p.next.next;
B. p = p.next;
p.next = null;
C. Node q = p.next;p.next = q.next;
D. p.next= null;

Thông tin

Category
CSD201
Thêm bởi
night_owl1
Ngày thêm
Lượt xem
3,604
Lượt bình luận
17
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_SU_2024_-_RE_2502.webp
File size
179.4 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom