0
Drag and drop from the options below to create a LinkedList, add "Hey", and print it. <String> list = new LinkedList ();
Drag and drop from the options below to create a LinkedList, add "Hey", and print it. <String> list = new LinkedList (); list.add( ); System.out.println(list.get( ));
4 Réponses
+ 4
LinkeList
<String>
"Hey"
0
0
answers in order:
LinkeList
<String>
"Hey"
0
0
LinkeList
<String>
"Hey"
0
- 4
Linkedlist <String> list=new Linkedlist();
list.add("Hey");
System.out.println(list.get(0))