Question: Linkedlist L={A,B,C} Node Pl=L,P2=PI; Pl= new Node(); Pl.setData(D); Pl.setNext(P2); Console.WriteLine( P1.getData() ); // This will print: Select one: O a. D O b. B. .



Linkedlist L={A,B,C} Node Pl=L,P2=PI; Pl= new Node(); Pl.setData("D"); Pl.setNext(P2); Console.WriteLine( P1.getData() ); // This will print: Select one: O a. D O b. B. . O d. C In the following code segment: Book bl; bl = new Book ("MyBook"); is a reference variable. Select one: O a. MyBook b. New O c. Book O d. b] An array-based implementation Select one: O a. is not a good choice for a small list O b. has a variable size O c. has items which explicitly reference the next items O d. requires less memory to store an item than a reference-based implementation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
