Which of the following methods returns the collection of attributes associated with node?

A. node.getAttribute
B. node.attributes
C. node.hasAttribute
D. node.attributes.nodeName

Answer: B

Computer Science & Information Technology

You might also like to view...

Insertion of a node into a doubly linked list requires how many changes to next and prev pointers?

a. no changes b. 1 next, 1 prev c. 2 next, 2 prev d. 3 next, 3 prev e. none of the above

Computer Science & Information Technology

Kevin has designed a computer that can fit on or next to a piece of furniture so that it can be used by people at home or office. Conventional personal computers that are designed to fit on or next to a piece of furniture are often referred to as _____.

A. ?desktop computers B. ?mainframe computers C. ?supercomputers D. ?server computers

Computer Science & Information Technology