题目
题目

XLMC0202501 Topic 4 Quiz

多项选择题

Which of the following statements about cursors and iterators are true? (Check all that apply)  

选项
A.Changing the position of an iterator for an object T also changes the position of T's cursor.
B.An ADT can't be coded to have more than one cursor.
C.Both cursors and iterators represent positions in a data structure.
D.A cursor is internal to an ADT (abstract data structure) but iterators are separate objects.
E.The user of an ADT can control how many cursors the ADT has.
查看解析

查看解析

标准答案
Please login to view
思路分析
Question asks which statements about cursors and iterators are true, with a check-all-that-apply format. Option 1: 'Changing the position of an iterator for an object T also changes the position of T's cursor.' This is typically false because iterators are separate abstraction layers that provide traversal control, while the cursor is an internal position within the A......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!