Learn more in the app.
View in app
UsingTreeSet - Java Quiz Question
What will be the output of the following program?
A
Elements in the tree are : [Branch, Leaves, Roots, Stem]
B
Elements in the tree are : [Roots, Stem, Branch, Leaves]
C
Elements in the tree are : [Branch, fruits, Leaves, Roots, Stem]
D
Compilation Error or Runtime Error