Please enable JavaScript.
Coggle requires JavaScript to display documents.
CODE BLOCK 1.8, CODE BLOCK 4.21, CODE BLOCK 4.22, CODE BLOCK 6.31, CODE…
CODE BLOCK 1.8
a
:
item = "Joe"
next = null
CODE BLOCK 4.21
a
:
item = "Billy"
next = "Sally"
c
:
item = "Sally"
next = "Barry"
item = "Barry"
next = null
b
:
item = "Juno"
next = "Billy"
CODE BLOCK 4.22
a
:
item = "Billy"
next = "Sally"
c
:
item = "Sally"
next = "Barry"
item = "Barry"
next = "Simon"
item = "Simon"
next = null
b
:
item = "Juno"
next = "Billy"
CODE BLOCK 6.31
a
:
item = "Billy"
next = "Sally"
item = "Simone"
next = null
c
:
item = "Sally"
next = "Barry"
item = "Barry"
next = "Simon"
item = "Simon"
next = null
b
:
item = "Juno"
next = "Billy"
CODE BLOCK 3.15
a
:
item = "Billy"
next = null
b
:
item = "Juno"
next = null
CODE BLOCK 3.16
b
:
item = "Juno"
next = "Billy"
a
:
item = "Billy"
next = null
CODE BLOCK 3.17
a
:
item = "Billy"
next =
item = "Sally"
next = null
b
:
item = "Juno"
next = "Billy"
CODE BLOCK 3.18
a
:
item = "Billy"
next = "Sally"
item = "Sally"
next = "Barry"
item = "Barry"
next = null
b
:
item = "Juno"
next = "Billy"
CODE BLOCK 1.9
a
:
item = "Billy"
next = null
CODE BLOCK 2.12
a
:
item = "Billy"
next = null
item = "Linda:
next = "Billy"
item = "Linda:
next = "Billy"
item = "Linda:
next = "Billy"
item = "Linda:
next = "Billy"
item = "Linda:
next = "Billy"
item = "Linda:
next = "Billy"
item = "Linda:
next = "Billy"
CODE BLOCK 5.25
output
:
null
CODE BLOCK 5.26
output
:
Juno
CODE BLOCK 5.27
output
:
Barry
CODE BLOCK 5.28
output
:
Simon
CODE BLOCK 7.34
output
:
null
item = "Linda:
next = "Billy"
$ javac -d bin -cp bin:lib/cs1302-str-list.jar src/cs1302/hw05/Driver.java
$ java -cp bin:lib/cs1302-str-list.jar src/cs1302/hw05/Driver.java