iOS Developer Question:
Download Job Interview Questions and Answers PDF
Explain difference between sax parser and dom parser?
Answer:
SAX (Simple API for XML):
☛ Parses node by node
☛ Doesn't store the XML in memory
☛ We can not insert or delete a node
☛ Top to bottom traversing
DOM (Document Object Model):
☛ Stores the entire XML document into memory before processing
☛ Occupies more memory
☛ We can insert or delete nodes
☛ Traverse in any direction
☛ Parses node by node
☛ Doesn't store the XML in memory
☛ We can not insert or delete a node
☛ Top to bottom traversing
DOM (Document Object Model):
☛ Stores the entire XML document into memory before processing
☛ Occupies more memory
☛ We can insert or delete nodes
☛ Traverse in any direction
Download iOS Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Which Programming Languages are used for iOS Development? | Explain what is storyboard? |