Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (tansheet):

Parse the given HTML/XML code in java according to the output. Input =

hello

world

Output = html – level 0 – N/A Body – level 1 – N/A P – level 2 – hello Swap – level 2 – N/A P – level 3 – world

OpenStudy (rsmith6559):

You need the Scanner class to break up the input and then you'll be creating nodes in a tree with the tokens.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
randogirl123: helpss
6 hours ago 17 Replies 0 Medals
DonaldTrumpofQC: QC Halloween Profile Picture requests
10 hours ago 3 Replies 1 Medal
Taku12: is it nessicary to learn formulations of 3x3 applications?
6 hours ago 28 Replies 2 Medals
Allisianna: Lwk dnt know how to send vms but ima try.
1 day ago 14 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!