Skip to main content

C212 - Western Governors University, Indiana - C212; Marketing

Page 1

C212 JAVA FINAL EXAM [IU] Collection - correct answer A ______ is the *grouping together of elements, useful for organizing and retrieving.* examples: Lists, Sets, Maps, Stacks

List - correct answer A ____ is *a collection that remembers the **order** of its elements.* - *necessary for order*

Set - correct answer A ___ is *a collection of **non-ordered unique** elements.* - *Not ordered but all unique**

Map, Key, Value - correct answer A ____ is a collection that *keeps associations between ______ (stored as sets) and ______(stored as lists) objects.

Linked List - correct answer A ____ ___ is *a list of nodes that stores information in reference to neighboring nodes.*

[ Tom ] <—> [ Diana ] <—> [ Harry ]

_______<String> list = new _______<>(); list.addLast("Harry"); list.addFirst("Sally");

List Iterator - correct answer A ___ ___ is *used to access elements inside a linked list.*

By using a position within the list, the ____ ____ points between two elements.

LinkedList<String> employees ...


Turn static files into dynamic content formats.

Create a flipbook
C212 - Western Governors University, Indiana - C212; Marketing by AllAcademicsCampus - Issuu