Which three statements about parsers are true? (Choose three

Which three statements about parsers are true? (Choose three.)

Which three statements about parsers are true? (Choose three.)

A.
SAX and StAX are bi-directional.

B.
DOM and StAX are bi-directional.

C.
StAX is a push API, whereas SAX is pull.

D.
SAX is a push API, whereas StAX is pull.

E.
SAX and StAX are read-only.

F.
SAX and DOM can write XML documents.

G.
StAX and DOM can write XML documents.



Leave a Reply 4

Your email address will not be published. Required fields are marked *


leo yu

leo yu

DOM: stored in memory, bi-directional
SAX: parser push event to user like startElement(…)
sTAX: user pull from parser like reader.hasNext then…

Mohamed Fayek Saber

Mohamed Fayek Saber

Comparing StAX to Other JAXP APIs