UsingTailSet - Java Quiz Question


What will be the output of the following program?


A
[Branch, Leaves, Roots, Stem, fruits]
B
[Leaves, fruits]
C
[Branch, fruits, Leaves, Roots, Stem]
D
Compilation Error or Runtime Error