1.

What is the property to access the first child of a node?(a) timestamp.Child1(b) timestamp.Child(1)(c) timestamp.Child(0)(d) timestamp.firstChild

Answer» Correct choice is (d) timestamp.firstChild

To elaborate: The firstChild property returns the first child node of the specified node, as a Node object. The first child of a node can be accessed using the firstChild property.


Discussion

No Comment Found

Related InterviewSolutions